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

Unified Diff: components/sync/device_info/device_info_sync_bridge.h

Issue 2468423010: [Sync] ModelTypeStore::ReadMetadataCallback now returns a MetadataBatch (Closed)
Patch Set: Address comments. Created 4 years, 1 month 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 | « no previous file | components/sync/device_info/device_info_sync_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/device_info/device_info_sync_bridge.h
diff --git a/components/sync/device_info/device_info_sync_bridge.h b/components/sync/device_info/device_info_sync_bridge.h
index 35701b7b609603096b83c531452651564551c81c..2cfa1e5a9906cce7b5de464fb5e2d054ebd6e244 100644
--- a/components/sync/device_info/device_info_sync_bridge.h
+++ b/components/sync/device_info/device_info_sync_bridge.h
@@ -92,10 +92,8 @@ class DeviceInfoSyncBridge : public ModelTypeSyncBridge,
std::unique_ptr<ModelTypeStore> store);
void OnReadAllData(ModelTypeStore::Result result,
std::unique_ptr<ModelTypeStore::RecordList> record_list);
- void OnReadAllMetadata(
- ModelTypeStore::Result result,
- std::unique_ptr<ModelTypeStore::RecordList> metadata_records,
- const std::string& global_metadata);
+ void OnReadAllMetadata(SyncError error,
+ std::unique_ptr<MetadataBatch> metadata_batch);
void OnCommit(ModelTypeStore::Result result);
// Load metadata if the data is loaded and the provider is initialized.
« no previous file with comments | « no previous file | components/sync/device_info/device_info_sync_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698