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

Unified Diff: chrome/browser/component_updater/sw_reporter_installer_win.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/sw_reporter_installer_win.cc
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.cc b/chrome/browser/component_updater/sw_reporter_installer_win.cc
index ade986db33e4ffaf1e2bb32dfd5bef74990646f9..e368e2fd7778a7e66c668806d4002847c04265ab 100644
--- a/chrome/browser/component_updater/sw_reporter_installer_win.cc
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.cc
@@ -37,10 +37,11 @@
#include "chrome/common/pref_names.h"
#include "components/component_updater/component_updater_paths.h"
#include "components/component_updater/component_updater_service.h"
-#include "components/component_updater/component_updater_utils.h"
#include "components/component_updater/default_component_installer.h"
#include "components/component_updater/pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
+#include "components/update_client/update_client.h"
+#include "components/update_client/utils.h"
#include "content/public/browser/browser_thread.h"
using content::BrowserThread;
@@ -306,10 +307,10 @@ class SwReporterInstallerTraits : public ComponentInstallerTraits {
}
static std::string ID() {
- CrxComponent component;
+ update_client::CrxComponent component;
component.version = Version("0.0.0.0");
GetPkHash(&component.pk_hash);
- return component_updater::GetCrxComponentID(component);
+ return update_client::GetCrxComponentID(component);
}
static base::FilePath VersionPath() { return base::FilePath(version_dir_); }

Powered by Google App Engine
This is Rietveld 408576698