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

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: Fix syncing of platform specific prefs 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/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 19b70a1b29ff2b2aa15601ae78e8682048ec0ca7..f9e3d8d6825b8e293547cbe2d38dacf1d56a72fb 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,
+ false /* don't sync pref */);
// Initializing the PasswordStore shouldn't trigger a migration.
scoped_refptr<PasswordStoreDefault> store(
@@ -397,7 +398,8 @@ TEST_F(PasswordStoreDefaultTest, MigrationAlreadyDone) {
// Prentend that the migration has already taken place.
profile_->GetPrefs()->RegisterBooleanPref(prefs::kLoginDatabaseMigrated,
- true);
+ true,
+ false /* don't sync pref */);
// Initializing the PasswordStore shouldn't trigger a migration.
scoped_refptr<PasswordStoreDefault> store(
@@ -426,7 +428,8 @@ TEST_F(PasswordStoreDefaultTest, MigrationAlreadyDone) {
TEST_F(PasswordStoreDefaultTest, Notifications) {
// Prentend that the migration has already taken place.
profile_->GetPrefs()->RegisterBooleanPref(prefs::kLoginDatabaseMigrated,
- true);
+ true,
+ false /* don't sync pref */);
// Initializing the PasswordStore shouldn't trigger a migration.
scoped_refptr<PasswordStoreDefault> store(

Powered by Google App Engine
This is Rietveld 408576698