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

Unified Diff: sync/api/data_batch.h

Issue 1648813002: [Sync] Renaming client key to client tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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_driver/device_info_service.cc ('k') | sync/api/entity_change.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/data_batch.h
diff --git a/sync/api/data_batch.h b/sync/api/data_batch.h
index 68d68e015607cc0fffd7e732b750725df7aa5da8..d7e769baf15c01b2b34e5f9cd06fcfec8f449366 100644
--- a/sync/api/data_batch.h
+++ b/sync/api/data_batch.h
@@ -15,7 +15,7 @@
namespace syncer_v2 {
-typedef std::pair<std::string, scoped_ptr<EntityData>> KeyAndData;
+typedef std::pair<std::string, scoped_ptr<EntityData>> TagAndData;
// Interface used by the processor to read data requested from the service.
class SYNC_EXPORT DataBatch {
@@ -26,10 +26,10 @@ class SYNC_EXPORT DataBatch {
// Returns if the data batch has another pair or not.
virtual bool HasNext() const = 0;
- // Returns a pair of storage key and owned entity data object. Invoking this
+ // Returns a pair of storage tag and owned entity data object. Invoking this
// method will remove the pair from the batch, and should not be called if
// HasNext() returns false.
- virtual KeyAndData Next() = 0;
+ virtual TagAndData Next() = 0;
};
} // namespace syncer_v2
« no previous file with comments | « components/sync_driver/device_info_service.cc ('k') | sync/api/entity_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698