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

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

Issue 25883006: Support asynchronous patching operations in the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tests
Patch Set: sorin@, cpu@ review Created 7 years, 1 month 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/component_updater_configurator.cc
diff --git a/chrome/browser/component_updater/component_updater_configurator.cc b/chrome/browser/component_updater/component_updater_configurator.cc
index 80f7a262eecec00d4cf857dc96413813214697b8..1e4893a36511d3bebb833e9d27e77159b14da8cf 100644
--- a/chrome/browser/component_updater/component_updater_configurator.cc
+++ b/chrome/browser/component_updater/component_updater_configurator.cc
@@ -104,7 +104,8 @@ class ChromeConfigurator : public ComponentUpdateService::Configurator {
virtual size_t UrlSizeLimit() OVERRIDE;
virtual net::URLRequestContextGetter* RequestContext() OVERRIDE;
virtual bool InProcess() OVERRIDE;
- virtual ComponentPatcher* CreateComponentPatcher() OVERRIDE;
+ virtual component_updater::ComponentPatcher*
+ CreateComponentPatcher() OVERRIDE;
virtual bool DeltasEnabled() const OVERRIDE;
private:
@@ -200,11 +201,12 @@ bool ChromeConfigurator::InProcess() {
return false;
}
-ComponentPatcher* ChromeConfigurator::CreateComponentPatcher() {
+component_updater::ComponentPatcher*
+ ChromeConfigurator::CreateComponentPatcher() {
#if defined(OS_WIN)
return new ComponentPatcherWin();
#else
- return new ComponentPatcherCrossPlatform();
+ return new component_updater::ComponentPatcherCrossPlatform();
#endif
}

Powered by Google App Engine
This is Rietveld 408576698