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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the previous fix Created 9 years, 8 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/sync_backend_host_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
index b33977c9a0b2fc8e07a04fd897f00e141461e49f..ce6c09711700717f0736d66eb3401dcb2d0ae70b 100644
--- a/chrome/browser/sync/glue/sync_backend_host_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
@@ -83,7 +83,9 @@ TEST_F(SyncBackendHostTest, InitShutdown) {
// ProfileSyncService, or maybe figure out a way to share the
// "register sync prefs" code.
PrefService* pref_service = profile.GetPrefs();
- pref_service->RegisterStringPref(prefs::kEncryptionBootstrapToken, "");
+ pref_service->RegisterStringPref(prefs::kEncryptionBootstrapToken,
+ "",
+ false /* don't sync pref */);
MockSyncFrontend mock_frontend;
sync_api::SyncCredentials credentials;

Powered by Google App Engine
This is Rietveld 408576698