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

Unified Diff: chrome/browser/sync/glue/syncable_service_adapter.cc

Issue 8065016: [Sync] Refactor non-frontend DTC to handle new API properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and self review Created 9 years, 2 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: chrome/browser/sync/glue/syncable_service_adapter.cc
diff --git a/chrome/browser/sync/glue/syncable_service_adapter.cc b/chrome/browser/sync/glue/syncable_service_adapter.cc
index 88b6ab1f753903e1b5454c101bf3efa68cdda58c..4a73b1972f25f38be688873cc4771e480c8859ee 100644
--- a/chrome/browser/sync/glue/syncable_service_adapter.cc
+++ b/chrome/browser/sync/glue/syncable_service_adapter.cc
@@ -39,6 +39,8 @@ bool SyncableServiceAdapter::AssociateModels(SyncError* error) {
*error = temp_error;
return false;
}
+
+ // TODO(zea): Have all datatypes take ownership of the sync_processor_.
temp_error = service_->MergeDataAndStartSyncing(type_,
initial_sync_data,
sync_processor_);
@@ -60,8 +62,7 @@ bool SyncableServiceAdapter::SyncModelHasUserCreatedNodes(bool* has_nodes) {
}
void SyncableServiceAdapter::AbortAssociation() {
- service_->StopSyncing(type_);
- syncing_ = false;
+ NOTIMPLEMENTED();
}
bool SyncableServiceAdapter::CryptoReadyIfNecessary() {

Powered by Google App Engine
This is Rietveld 408576698