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

Unified Diff: chrome/browser/sync/syncable/model_type.cc

Issue 2770003: Changed syncable::PASSWORD to syncable::PASSWORDS for consistency (Closed)
Patch Set: Created 10 years, 6 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 | « chrome/browser/sync/syncable/model_type.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/model_type.cc
diff --git a/chrome/browser/sync/syncable/model_type.cc b/chrome/browser/sync/syncable/model_type.cc
index dd3af20a890b665c7f3584f79217cca951f3e155..469de65a51fd57b9009c2ef6b1d43e6adefe36b9 100644
--- a/chrome/browser/sync/syncable/model_type.cc
+++ b/chrome/browser/sync/syncable/model_type.cc
@@ -21,7 +21,7 @@ void AddDefaultExtensionValue(syncable::ModelType datatype,
case BOOKMARKS:
specifics->MutableExtension(sync_pb::bookmark);
break;
- case PASSWORD:
+ case PASSWORDS:
specifics->MutableExtension(sync_pb::password);
break;
case PREFERENCES:
@@ -77,7 +77,7 @@ ModelType GetModelTypeFromSpecifics(const sync_pb::EntitySpecifics& specifics) {
return BOOKMARKS;
if (specifics.HasExtension(sync_pb::password))
- return PASSWORD;
+ return PASSWORDS;
if (specifics.HasExtension(sync_pb::preference))
return PREFERENCES;
« no previous file with comments | « chrome/browser/sync/syncable/model_type.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698