Skip to content

Commit

Permalink
Remove post-uninstall-survey on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yrliou committed Jul 6, 2018
1 parent 1984873 commit cd40519
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chromium_src/chrome/installer/util/browser_distribution.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "brave/installer/util/brave_distribution.h"
#undef GoogleChromeDistribution
#define GoogleChromeDistribution BraveDistribution
#include "../../../../../chrome/installer/util/browser_distribution.cc"
22 changes: 22 additions & 0 deletions installer/util/brave_distribution.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef BRAVE_INSTALLER_UTIL_BRAVE_DISTRIBUTION_H_
#define BRAVE_INSTALLER_UTIL_BRAVE_DISTRIBUTION_H_

#include "chrome/installer/util/google_chrome_distribution.h"

class BraveDistribution : public GoogleChromeDistribution {
public:
void DoPostUninstallOperations(
const base::Version& version,
const base::FilePath& local_data_path,
const base::string16& distribution_data) override { };

BraveDistribution() { };

DISALLOW_COPY_AND_ASSIGN(BraveDistribution);
};

#endif // BRAVE_INSTALLER_UTIL_BRAVE_DISTRIBUTION_H_

0 comments on commit cd40519

Please sign in to comment.