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

Unified Diff: sync/internal_api/sync_core.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/public/test/null_sync_core_proxy.h ('k') | sync/internal_api/sync_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/sync_core.h
diff --git a/sync/internal_api/sync_core.h b/sync/internal_api/sync_core.h
index 6f63070c01a6753f156852d446cb436e9e4b37f5..417a296510e961dfb58dc4f5e4ac0b649633d0e3 100644
--- a/sync/internal_api/sync_core.h
+++ b/sync/internal_api/sync_core.h
@@ -15,6 +15,7 @@ namespace syncer {
class ModelTypeRegistry;
class NonBlockingTypeProcessor;
+struct DataTypeState;
// An interface of the core parts of sync.
//
@@ -32,9 +33,10 @@ class SYNC_EXPORT_PRIVATE SyncCore {
// Initializes the connection between the sync core and its delegate on the
// sync client's thread.
void ConnectSyncTypeToCore(
- syncer::ModelType type,
- scoped_refptr<base::SequencedTaskRunner> datatype_task_runner,
- base::WeakPtr<NonBlockingTypeProcessor> sync_client);
+ syncer::ModelType type,
+ const DataTypeState& data_type_state,
+ scoped_refptr<base::SequencedTaskRunner> datatype_task_runner,
+ base::WeakPtr<NonBlockingTypeProcessor> sync_client);
// Disconnects the syncer from the model and stops syncing the type.
//
« no previous file with comments | « sync/internal_api/public/test/null_sync_core_proxy.h ('k') | sync/internal_api/sync_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698