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

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, 5 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..5a51914c67b111631196ab4f4763321f6850c137 100644
--- a/chrome/browser/component_updater/component_updater_configurator.h
+++ b/chrome/browser/component_updater/component_updater_configurator.h
@@ -24,6 +24,8 @@ class URLRequestContextGetter;
namespace component_updater {
+class DeltaUpdateOpFactory;
+
// Controls the component updater behavior.
class Configurator {
public:
@@ -84,8 +86,9 @@ 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 DeltaUpdateOpFactory. May be in-process or out-of-process,
+ // depending on implementation.
+ virtual DeltaUpdateOpFactory* CreateDeltaUpdateOpFactory() 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