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

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

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 96fb8e6df6c90cd31e3979d5b13d8539300de5e0..2173f05f0cff4a1e4be4ebf7486c1eb1c798b616 100644
--- a/chrome/browser/component_updater/recovery_component_installer.cc
+++ b/chrome/browser/component_updater/recovery_component_installer.cc
@@ -29,6 +29,7 @@
#include "components/component_updater/component_updater_paths.h"
#include "components/component_updater/component_updater_service.h"
#include "components/component_updater/pref_names.h"
+#include "components/update_client/update_client.h"
#include "content/public/browser/browser_thread.h"
using content::BrowserThread;
@@ -172,7 +173,7 @@ void ElevatedInstallRecoveryComponent(const base::FilePath& installer_path) {
// There is a global error service monitors this flag and will pop up
// bubble if the flag is set to true.
// See chrome/browser/recovery/recovery_install_global_error.cc for details.
-class RecoveryComponentInstaller : public ComponentInstaller {
+class RecoveryComponentInstaller : public update_client::ComponentInstaller {
public:
RecoveryComponentInstaller(const Version& version, PrefService* prefs);
~RecoveryComponentInstaller() override {}
@@ -205,7 +206,7 @@ void RecoveryRegisterHelper(ComponentUpdateService* cus, PrefService* prefs) {
return;
}
- CrxComponent recovery;
+ update_client::CrxComponent recovery;
recovery.name = "recovery";
recovery.installer = new RecoveryComponentInstaller(version, prefs);
recovery.version = version;

Powered by Google App Engine
This is Rietveld 408576698