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

Unified Diff: sync/internal_api/model_type_entity.cc

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 | « sync/api/model_type_service.h ('k') | sync/internal_api/model_type_entity_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/model_type_entity.cc
diff --git a/sync/internal_api/model_type_entity.cc b/sync/internal_api/model_type_entity.cc
index c4894256b15b9532485aa2067a0aa7b35d3677d2..a88fab09ab2801116d3c58e710859b210972a1e5 100644
--- a/sync/internal_api/model_type_entity.cc
+++ b/sync/internal_api/model_type_entity.cc
@@ -34,9 +34,9 @@ scoped_ptr<ModelTypeEntity> ModelTypeEntity::CreateNew(
new ModelTypeEntity(client_tag, &metadata));
}
-ModelTypeEntity::ModelTypeEntity(const std::string& client_key,
+ModelTypeEntity::ModelTypeEntity(const std::string& client_tag,
sync_pb::EntityMetadata* metadata)
- : client_key_(client_key), commit_requested_sequence_number_(0) {
+ : client_tag_(client_tag), commit_requested_sequence_number_(0) {
DCHECK(metadata);
DCHECK(metadata->has_client_tag_hash());
metadata_.Swap(metadata);
« no previous file with comments | « sync/api/model_type_service.h ('k') | sync/internal_api/model_type_entity_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698