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

Unified Diff: chrome/browser/sync/engine/syncapi.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 | « no previous file | chrome/browser/sync/glue/data_type_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncapi.cc
diff --git a/chrome/browser/sync/engine/syncapi.cc b/chrome/browser/sync/engine/syncapi.cc
index aef26391513b7e4c66bf4bacd9bbe0c262d1f320..60b921fc6a370d0bdbdae1ca00d15d1f6c06f5b4 100644
--- a/chrome/browser/sync/engine/syncapi.cc
+++ b/chrome/browser/sync/engine/syncapi.cc
@@ -246,7 +246,7 @@ const sync_pb::BookmarkSpecifics& BaseNode::GetBookmarkSpecifics() const {
bool BaseNode::GetPasswordSpecifics(sync_pb::PasswordSpecificsData* data)
const {
- DCHECK(GetModelType() == syncable::PASSWORD);
+ DCHECK(GetModelType() == syncable::PASSWORDS);
DCHECK(data);
const sync_pb::PasswordSpecifics& specifics =
GetEntry()->Get(SPECIFICS).GetExtension(sync_pb::password);
@@ -329,7 +329,7 @@ void WriteNode::PutBookmarkSpecificsAndMarkForSyncing(
void WriteNode::SetPasswordSpecifics(
const sync_pb::PasswordSpecificsData& data) {
- DCHECK(GetModelType() == syncable::PASSWORD);
+ DCHECK(GetModelType() == syncable::PASSWORDS);
std::string serialized_data;
data.SerializeToString(&serialized_data);
sync_pb::PasswordSpecifics new_value;
« no previous file with comments | « no previous file | chrome/browser/sync/glue/data_type_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698