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

Unified Diff: chrome/browser/sync/glue/password_model_associator.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_model_associator.cc
diff --git a/chrome/browser/sync/glue/password_model_associator.cc b/chrome/browser/sync/glue/password_model_associator.cc
index e91e3ec83dee538d9007e3f1ac966097d221ee9e..219de0d79b497f3e7734cc3df6aca65acecfe623 100644
--- a/chrome/browser/sync/glue/password_model_associator.cc
+++ b/chrome/browser/sync/glue/password_model_associator.cc
@@ -92,7 +92,7 @@ syncer::SyncError PasswordModelAssociator::AssociateModels() {
std::string tag = MakeTag(**ix);
syncer::ReadNode node(&trans);
- if (node.InitByClientTagLookup(syncable::PASSWORDS, tag) ==
+ if (node.InitByClientTagLookup(syncer::PASSWORDS, tag) ==
syncer::BaseNode::INIT_OK) {
const sync_pb::PasswordSpecificsData& password =
node.GetPasswordSpecifics();
@@ -102,7 +102,7 @@ syncer::SyncError PasswordModelAssociator::AssociateModels() {
if (MergePasswords(password, **ix, &new_password)) {
syncer::WriteNode write_node(&trans);
- if (write_node.InitByClientTagLookup(syncable::PASSWORDS, tag) !=
+ if (write_node.InitByClientTagLookup(syncer::PASSWORDS, tag) !=
syncer::BaseNode::INIT_OK) {
STLDeleteElements(&passwords);
return error_handler_->CreateAndUploadError(
@@ -118,7 +118,7 @@ syncer::SyncError PasswordModelAssociator::AssociateModels() {
} else {
syncer::WriteNode node(&trans);
syncer::WriteNode::InitUniqueByCreationResult result =
- node.InitUniqueByCreation(syncable::PASSWORDS, password_root, tag);
+ node.InitUniqueByCreation(syncer::PASSWORDS, password_root, tag);
if (result != syncer::WriteNode::INIT_SUCCESS) {
STLDeleteElements(&passwords);
return error_handler_->CreateAndUploadError(
« no previous file with comments | « chrome/browser/sync/glue/password_model_associator.h ('k') | chrome/browser/sync/glue/search_engine_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698