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

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

Issue 420503002: Componentize component_updater: Decouple in-process DeltaUpdateOp from out-of-process version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_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;

Powered by Google App Engine
This is Rietveld 408576698