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

Unified Diff: components/sync/api/model_type_change_processor.h

Issue 2222373003: [Sync] Adding storage key concept for ModelTypeServices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing redundant hash value. Created 4 years, 4 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
« no previous file with comments | « components/sync/api/metadata_change_list.h ('k') | components/sync/api/model_type_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/model_type_change_processor.h
diff --git a/components/sync/api/model_type_change_processor.h b/components/sync/api/model_type_change_processor.h
index 107934fd2047c8a3e0e2f3c04fc603c646020674..46090d05ac37724bf397de2e0a9055acb9ce9695 100644
--- a/components/sync/api/model_type_change_processor.h
+++ b/components/sync/api/model_type_change_processor.h
@@ -38,12 +38,12 @@ class SYNC_EXPORT ModelTypeChangeProcessor : public syncer::SyncErrorFactory {
// does not need to be fully set, but it should at least have specifics and
// non-unique name. The processor will fill in the rest if the service does
// not have a reason to care.
- virtual void Put(const std::string& client_tag,
+ virtual void Put(const std::string& storage_key,
std::unique_ptr<EntityData> entity_data,
MetadataChangeList* metadata_change_list) = 0;
// Inform the processor of a deleted entity.
- virtual void Delete(const std::string& client_tag,
+ virtual void Delete(const std::string& storage_key,
MetadataChangeList* metadata_change_list) = 0;
// Accept the initial sync metadata loaded by the service. This should be
« no previous file with comments | « components/sync/api/metadata_change_list.h ('k') | components/sync/api/model_type_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698