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

Unified Diff: chrome/browser/password_manager/password_store_default_unittest.cc

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix. And rebase Created 9 years, 7 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/password_manager/password_store_default_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_default_unittest.cc b/chrome/browser/password_manager/password_store_default_unittest.cc
index 212de2fe30f98323efa18e15ae164a29ecdfe7ab..1b6bd8dd9cc1f1bc25a0954d6b028729ce3cdb93 100644
--- a/chrome/browser/password_manager/password_store_default_unittest.cc
+++ b/chrome/browser/password_manager/password_store_default_unittest.cc
@@ -152,7 +152,8 @@ MATCHER(EmptyWDResult, "") {
TEST_F(PasswordStoreDefaultTest, NonASCIIData) {
// Prentend that the migration has already taken place.
profile_->GetPrefs()->RegisterBooleanPref(prefs::kLoginDatabaseMigrated,
- true);
+ true,
+ PrefService::UNSYNCABLE_PREF);
// Initializing the PasswordStore shouldn't trigger a migration.
scoped_refptr<PasswordStoreDefault> store(
@@ -399,7 +400,8 @@ TEST_F(PasswordStoreDefaultTest, MigrationAlreadyDone) {
// Prentend that the migration has already taken place.
profile_->GetPrefs()->RegisterBooleanPref(prefs::kLoginDatabaseMigrated,
- true);
+ true,
+ PrefService::UNSYNCABLE_PREF);
// Initializing the PasswordStore shouldn't trigger a migration.
scoped_refptr<PasswordStore> store(
@@ -430,7 +432,8 @@ TEST_F(PasswordStoreDefaultTest, MigrationAlreadyDone) {
TEST_F(PasswordStoreDefaultTest, Notifications) {
// Prentend that the migration has already taken place.
profile_->GetPrefs()->RegisterBooleanPref(prefs::kLoginDatabaseMigrated,
- true);
+ true,
+ PrefService::UNSYNCABLE_PREF);
// Initializing the PasswordStore shouldn't trigger a migration.
scoped_refptr<PasswordStore> store(

Powered by Google App Engine
This is Rietveld 408576698