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

Unified Diff: chrome/browser/component_updater/component_updater_service.h

Issue 213923002: Revert of Use UtilityProcessHost to patch files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nonblocking
Patch Set: Created 6 years, 9 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/component_updater_service.h
diff --git a/chrome/browser/component_updater/component_updater_service.h b/chrome/browser/component_updater/component_updater_service.h
index bd9e37b4f0a420293d7c0475c1a1bd8baab9512b..fa59340a8b646a323f0adfdf28aeafbee6d9febf 100644
--- a/chrome/browser/component_updater/component_updater_service.h
+++ b/chrome/browser/component_updater/component_updater_service.h
@@ -30,6 +30,7 @@
namespace component_updater {
class OnDemandTester;
+class ComponentPatcher;
// Component specific installers must derive from this class and implement
// OnUpdateError() and Install(). A valid instance of this class must be
@@ -177,6 +178,9 @@
virtual net::URLRequestContextGetter* RequestContext() = 0;
// True means that all ops are performed in this process.
virtual bool InProcess() = 0;
+ // Creates a new ComponentPatcher in a platform-specific way. This is useful
+ // for dependency injection.
+ virtual ComponentPatcher* CreateComponentPatcher() = 0;
// True means that this client can handle delta updates.
virtual bool DeltasEnabled() const = 0;
// True means that the background downloader can be used for downloading

Powered by Google App Engine
This is Rietveld 408576698