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

Unified Diff: chrome/browser/themes/theme_syncable_service.cc

Issue 15701022: [Sync] Add support for sync Persistence Errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move bookmark change into separate patch Created 7 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/themes/theme_syncable_service.cc
diff --git a/chrome/browser/themes/theme_syncable_service.cc b/chrome/browser/themes/theme_syncable_service.cc
index bf414d64b0e9df6507b4a01ab1d5a36bbe0c4553..3389443e055fc321051edd8da9810b22d886243e 100644
--- a/chrome/browser/themes/theme_syncable_service.cc
+++ b/chrome/browser/themes/theme_syncable_service.cc
@@ -135,6 +135,7 @@ syncer::SyncError ThemeSyncableService::ProcessSyncChanges(
if (!sync_processor_.get()) {
return syncer::SyncError(FROM_HERE,
+ syncer::SyncError::DATATYPE_ERROR,
"Theme syncable service is not started.",
syncer::THEMES);
}
@@ -180,8 +181,8 @@ syncer::SyncError ThemeSyncableService::ProcessSyncChanges(
}
return syncer::SyncError(FROM_HERE,
- base::StringPrintf(
- "Didn't find valid theme specifics."),
+ syncer::SyncError::DATATYPE_ERROR,
+ "Didn't find valid theme specifics",
syncer::THEMES);
}

Powered by Google App Engine
This is Rietveld 408576698