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

Unified Diff: chrome/browser/password_manager/password_store_win_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/password_manager/password_store_win_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_win_unittest.cc b/chrome/browser/password_manager/password_store_win_unittest.cc
index 98ad2be42307e4e1a1378a63e66d3cd120444dab..4f321860a42dde4bc730a5fc07aafd0617ef9bf3 100644
--- a/chrome/browser/password_manager/password_store_win_unittest.cc
+++ b/chrome/browser/password_manager/password_store_win_unittest.cc
@@ -168,7 +168,8 @@ TEST_F(PasswordStoreWinTest, DISABLED_ConvertIE7Login) {
// 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<PasswordStoreWin> store(
@@ -225,7 +226,8 @@ TEST_F(PasswordStoreWinTest, DISABLED_ConvertIE7Login) {
TEST_F(PasswordStoreWinTest, OutstandingWDSQueries) {
// 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<PasswordStoreWin> store(
@@ -274,7 +276,8 @@ TEST_F(PasswordStoreWinTest, DISABLED_MultipleWDSQueriesOnDifferentThreads) {
// 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<PasswordStoreWin> store(

Powered by Google App Engine
This is Rietveld 408576698