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

Unified Diff: sync/internal_api/public/internal_components_factory.h

Issue 93433006: sync: Introduce ModelTypeRegistry and helpers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing files Created 6 years, 12 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: sync/internal_api/public/internal_components_factory.h
diff --git a/sync/internal_api/public/internal_components_factory.h b/sync/internal_api/public/internal_components_factory.h
index 616457d98a251241f6d8702aa7667f48102ff5f2..cc959ad73dcc2fe9500e43d3f09284d0b7607d15 100644
--- a/sync/internal_api/public/internal_components_factory.h
+++ b/sync/internal_api/public/internal_components_factory.h
@@ -24,6 +24,7 @@ class SyncEngineEventListener;
class CancelationSignal;
class SyncScheduler;
class TrafficRecorder;
+class ModelTypeRegistry;
Nicolas Zea 2014/01/04 02:09:34 nit: typically these should be in abc order
rlarocque 2014/01/06 20:03:33 Done. Sorted the entire list.
namespace sessions {
class DebugInfoGetter;
@@ -82,11 +83,11 @@ class SYNC_EXPORT InternalComponentsFactory {
virtual scoped_ptr<sessions::SyncSessionContext> BuildContext(
ServerConnectionManager* connection_manager,
syncable::Directory* directory,
- const std::vector<ModelSafeWorker*>& workers,
ExtensionsActivity* extensions_activity,
const std::vector<SyncEngineEventListener*>& listeners,
sessions::DebugInfoGetter* debug_info_getter,
TrafficRecorder* traffic_recorder,
+ ModelTypeRegistry* model_type_registry,
const std::string& invalidator_client_id) = 0;
virtual scoped_ptr<syncable::DirectoryBackingStore>

Powered by Google App Engine
This is Rietveld 408576698