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

Unified Diff: sync/internal_api/sync_manager_impl.h

Issue 93433006: sync: Introduce ModelTypeRegistry and helpers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory leak in tests Created 6 years, 11 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/sync_manager_impl.h
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h
index ed758bc0b9959b4bc17e04df24edb82b3e217cab..25b3a7b3adb88404d77e9ca6e1e225e8f17c5ad7 100644
--- a/sync/internal_api/sync_manager_impl.h
+++ b/sync/internal_api/sync_manager_impl.h
@@ -31,6 +31,7 @@
namespace syncer {
+class ModelTypeRegistry;
class SyncAPIServerConnectionManager;
class WriteNode;
class WriteTransaction;
@@ -314,6 +315,10 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
// client (the Syncer) and the sync server.
scoped_ptr<SyncAPIServerConnectionManager> connection_manager_;
+ // Maintains state that affects the way we interact with different sync types.
+ // This state changes when entering or exiting a configuration cycle.
+ scoped_ptr<ModelTypeRegistry> model_type_registry_;
+
// A container of various bits of information used by the SyncScheduler to
// create SyncSessions. Must outlive the SyncScheduler.
scoped_ptr<sessions::SyncSessionContext> session_context_;
« no previous file with comments | « sync/internal_api/public/test/test_internal_components_factory.h ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698