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

Unified Diff: chrome/browser/sync/glue/password_change_processor.cc

Issue 10696087: [Sync] Move ModelType and related classes to 'syncer' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort headers, update copyrights Created 8 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
Index: chrome/browser/sync/glue/password_change_processor.cc
diff --git a/chrome/browser/sync/glue/password_change_processor.cc b/chrome/browser/sync/glue/password_change_processor.cc
index 67b506d0bf78d604dd21711f9ba79a8ac81162c5..bb10d9144061ba8c0bd7e8d639f141469bbf54ed 100644
--- a/chrome/browser/sync/glue/password_change_processor.cc
+++ b/chrome/browser/sync/glue/password_change_processor.cc
@@ -83,7 +83,7 @@ void PasswordChangeProcessor::Observe(
case PasswordStoreChange::ADD: {
syncer::WriteNode sync_node(&trans);
syncer::WriteNode::InitUniqueByCreationResult result =
- sync_node.InitUniqueByCreation(syncable::PASSWORDS, password_root,
+ sync_node.InitUniqueByCreation(syncer::PASSWORDS, password_root,
tag);
if (result == syncer::WriteNode::INIT_SUCCESS) {
PasswordModelAssociator::WriteToSyncNode(change->form(), &sync_node);
@@ -208,7 +208,7 @@ void PasswordChangeProcessor::ApplyChangesFromSyncModel(
// Check that the changed node is a child of the passwords folder.
DCHECK_EQ(password_root.GetId(), sync_node.GetParentId());
- DCHECK_EQ(syncable::PASSWORDS, sync_node.GetModelType());
+ DCHECK_EQ(syncer::PASSWORDS, sync_node.GetModelType());
const sync_pb::PasswordSpecificsData& password_data =
sync_node.GetPasswordSpecifics();

Powered by Google App Engine
This is Rietveld 408576698