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

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

Issue 10662035: [Sync] Put everything in sync/api into csync namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments 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/theme_model_associator.cc
diff --git a/chrome/browser/sync/glue/theme_model_associator.cc b/chrome/browser/sync/glue/theme_model_associator.cc
index ebfbc5d46a18b0c9e805ecb3727d7be36dfbf854..be8eeb714a58840f24e0bac09f8c208ad89a4c90 100644
--- a/chrome/browser/sync/glue/theme_model_associator.cc
+++ b/chrome/browser/sync/glue/theme_model_associator.cc
@@ -41,7 +41,7 @@ ThemeModelAssociator::ThemeModelAssociator(
ThemeModelAssociator::~ThemeModelAssociator() {}
-SyncError ThemeModelAssociator::AssociateModels() {
+csync::SyncError ThemeModelAssociator::AssociateModels() {
csync::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare());
csync::ReadNode root(&trans);
if (root.InitByTagLookup(kThemesTag) != csync::BaseNode::INIT_OK) {
@@ -83,12 +83,12 @@ SyncError ThemeModelAssociator::AssociateModels() {
GetThemeSpecificsFromCurrentTheme(profile, &theme_specifics);
node.SetThemeSpecifics(theme_specifics);
}
- return SyncError();
+ return csync::SyncError();
}
-SyncError ThemeModelAssociator::DisassociateModels() {
+csync::SyncError ThemeModelAssociator::DisassociateModels() {
// We don't maintain any association state, so nothing to do.
- return SyncError();
+ return csync::SyncError();
}
bool ThemeModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) {
« no previous file with comments | « chrome/browser/sync/glue/theme_model_associator.h ('k') | chrome/browser/sync/glue/typed_url_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698