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

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

Issue 23129007: sync: Add GetAllSyncData to sync/api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 7 years, 3 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/ui_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/ui_data_type_controller.cc b/chrome/browser/sync/glue/ui_data_type_controller.cc
index 1ed6b863b6d895841b93d520c72221d1a715b98c..24b0e51a2cc4bcd64cd3c93fb437c9af6a2e9859 100644
--- a/chrome/browser/sync/glue/ui_data_type_controller.cc
+++ b/chrome/browser/sync/glue/ui_data_type_controller.cc
@@ -166,9 +166,10 @@ void UIDataTypeController::Associate() {
}
base::TimeTicks start_time = base::TimeTicks::Now();
- syncer::SyncError error;
syncer::SyncDataList initial_sync_data;
- error = shared_change_processor_->GetSyncData(&initial_sync_data);
+ syncer::SyncError error =
+ shared_change_processor_->GetAllSyncDataReturnError(
+ type(), &initial_sync_data);
if (error.IsSet()) {
local_merge_result.set_error(error);
StartDone(ASSOCIATION_FAILED,
« no previous file with comments | « chrome/browser/sync/glue/shared_change_processor_ref.cc ('k') | chrome/browser/themes/theme_syncable_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698