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 |