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

Unified Diff: sync/internal_api/sync_core.cc

Issue 280983002: Implement sync in the NonBlockingTypeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add some comments 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
Index: sync/internal_api/sync_core.cc
diff --git a/sync/internal_api/sync_core.cc b/sync/internal_api/sync_core.cc
index dbeb76d0038ae76f49eb672497b8a8fa2b180f23..67071769f805414925a114b9af69a909be5d4f78 100644
--- a/sync/internal_api/sync_core.cc
+++ b/sync/internal_api/sync_core.cc
@@ -16,13 +16,14 @@ SyncCore::~SyncCore() {}
void SyncCore::ConnectSyncTypeToCore(
ModelType type,
+ const DataTypeState& data_type_state,
scoped_refptr<base::SequencedTaskRunner> task_runner,
base::WeakPtr<NonBlockingTypeProcessor> processor) {
-
// Initialize the processor's sync-thread sibling and the
// processor <-> processor_core (ie. model thread <-> sync thread)
// communication channel.
- model_type_registry_->InitializeNonBlockingType(type, task_runner, processor);
+ model_type_registry_->InitializeNonBlockingType(
+ type, data_type_state, task_runner, processor);
}
void SyncCore::Disconnect(ModelType type) {

Powered by Google App Engine
This is Rietveld 408576698