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

Unified Diff: chrome/browser/sync/glue/non_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: add GetAllSyncDataReturnError 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/non_ui_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/non_ui_data_type_controller.cc b/chrome/browser/sync/glue/non_ui_data_type_controller.cc
index 48c30237375528c5d3769434a7f673ee054dc618..d8192f3004a8f5a3e6687be091bd4823337c287e 100644
--- a/chrome/browser/sync/glue/non_ui_data_type_controller.cc
+++ b/chrome/browser/sync/glue/non_ui_data_type_controller.cc
@@ -364,7 +364,8 @@ void NonUIDataTypeController::
base::TimeTicks start_time = base::TimeTicks::Now();
syncer::SyncDataList initial_sync_data;
syncer::SyncError error =
- shared_change_processor->GetSyncData(&initial_sync_data);
+ shared_change_processor_->GetAllSyncDataReturnError(
+ type(), &initial_sync_data);
Nicolas Zea 2013/09/05 00:13:08 nit: fix indent
tim (not reviewing) 2013/09/05 00:22:24 Done.
if (error.IsSet()) {
local_merge_result.set_error(error);
StartDone(ASSOCIATION_FAILED,

Powered by Google App Engine
This is Rietveld 408576698