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

Unified Diff: sync/sessions/model_type_registry.h

Issue 280983002: Implement sync in the NonBlockingTypeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gyp error and some tests Created 6 years, 7 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
« no previous file with comments | « sync/internal_api/test/null_sync_core_proxy.cc ('k') | sync/sessions/model_type_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/model_type_registry.h
diff --git a/sync/sessions/model_type_registry.h b/sync/sessions/model_type_registry.h
index 20d6d20bd61be18c7bd67d92df23a5e14a904eb2..6d05dfc0f3a248f744e5f9f6a02d1a510b15f92d 100644
--- a/sync/sessions/model_type_registry.h
+++ b/sync/sessions/model_type_registry.h
@@ -28,6 +28,7 @@ class DirectoryTypeDebugInfoEmitter;
class NonBlockingTypeProcessorCore;
class NonBlockingTypeProcessor;
class UpdateHandler;
+struct DataTypeState;
typedef std::map<ModelType, UpdateHandler*> UpdateHandlerMap;
typedef std::map<ModelType, CommitContributor*> CommitContributorMap;
@@ -56,6 +57,7 @@ class SYNC_EXPORT_PRIVATE ModelTypeRegistry {
// Expects that the processor's ModelType is not currently enabled.
void InitializeNonBlockingType(
syncer::ModelType type,
+ const DataTypeState& data_type_state,
scoped_refptr<base::SequencedTaskRunner> type_task_runner,
base::WeakPtr<NonBlockingTypeProcessor> processor);
« no previous file with comments | « sync/internal_api/test/null_sync_core_proxy.cc ('k') | sync/sessions/model_type_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698