Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1514)

Unified Diff: chrome/browser/component_updater/recovery_component_installer.cc

Issue 879993005: Add support for uninstalling components and use it in SupervisedUserWhitelistInstaller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/recovery_component_installer.cc
diff --git a/chrome/browser/component_updater/recovery_component_installer.cc b/chrome/browser/component_updater/recovery_component_installer.cc
index 696ab4328c295a07084999cc5bd4b75e46d7e089..20898059d1394103ac2c6bdfed1deed3f4059fdb 100644
--- a/chrome/browser/component_updater/recovery_component_installer.cc
+++ b/chrome/browser/component_updater/recovery_component_installer.cc
@@ -186,6 +186,8 @@ class RecoveryComponentInstaller : public update_client::ComponentInstaller {
bool GetInstalledFile(const std::string& file,
base::FilePath* installed_file) override;
+ bool Uninstall() override;
+
private:
~RecoveryComponentInstaller() override {}
@@ -360,6 +362,10 @@ bool RecoveryComponentInstaller::GetInstalledFile(
return false;
}
+bool RecoveryComponentInstaller::Uninstall() {
+ return false;
+}
+
void RegisterRecoveryComponent(ComponentUpdateService* cus,
PrefService* prefs) {
#if !defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698