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; |