Index: chrome/browser/component_updater/component_updater_configurator.h |
diff --git a/chrome/browser/component_updater/component_updater_configurator.h b/chrome/browser/component_updater/component_updater_configurator.h |
index 04c31854500a52e597945fe1074400e6b427a229..09daa91d44decb2ba59104692efcb3a7ff40b5f1 100644 |
--- a/chrome/browser/component_updater/component_updater_configurator.h |
+++ b/chrome/browser/component_updater/component_updater_configurator.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
class GURL; |
@@ -24,6 +25,8 @@ class URLRequestContextGetter; |
namespace component_updater { |
+class OutOfProcessPatcher; |
+ |
// Controls the component updater behavior. |
class Configurator { |
public: |
@@ -84,8 +87,10 @@ class Configurator { |
// The source of contexts for all the url requests. |
virtual net::URLRequestContextGetter* RequestContext() const = 0; |
- // True means that all ops are performed in this process. |
- virtual bool InProcess() const = 0; |
+ // Returns a new out of process patcher. May be NULL for implementations |
+ // that patch in-process. |
+ virtual scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() |
+ const = 0; |
// True means that this client can handle delta updates. |
virtual bool DeltasEnabled() const = 0; |