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

Unified Diff: chrome/browser/themes/theme_syncable_service_unittest.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_unittest.cc
diff --git a/chrome/browser/themes/theme_syncable_service_unittest.cc b/chrome/browser/themes/theme_syncable_service_unittest.cc
index 4099223a461e8ae745aa45292b899b60b2b14dfc..5931a1720f1bdc838055af8bbc6ac83e9b9d6f55 100644
--- a/chrome/browser/themes/theme_syncable_service_unittest.cc
+++ b/chrome/browser/themes/theme_syncable_service_unittest.cc
@@ -505,8 +505,9 @@ TEST_F(ThemeSyncableServiceTest, StopSync) {
// ProcessSyncChanges() should return error when sync has stopped.
error = theme_sync_service_->ProcessSyncChanges(FROM_HERE, change_list);
EXPECT_TRUE(error.IsSet());
- EXPECT_EQ(syncer::THEMES, error.type());
- EXPECT_EQ("Theme syncable service is not started.",
+ EXPECT_EQ(syncer::THEMES, error.model_type());
+ EXPECT_EQ("datatype error was encountered: Theme syncable service is not "
+ "started.",
error.message());
}
« no previous file with comments | « chrome/browser/themes/theme_syncable_service.cc ('k') | chrome/browser/webdata/autocomplete_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698