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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper_unittest.cc

Issue 11316163: Remove the last usages of PrefObserver outside of Prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/ui/sync/one_click_signin_helper_unittest.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
index fa2090c6daaf72ee8601e34f5e950b9ccfcf469e..72d1dea372affb482310f76128b75db230615c71 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
+++ b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
@@ -63,14 +63,14 @@ class TestProfileIOData : public ProfileIOData {
// Initialize the IO members required for these tests, but keep them on
// this thread since we don't use a background thread here.
google_services_username()->Init(prefs::kGoogleServicesUsername,
- pref_service, NULL);
+ pref_service);
reverse_autologin_enabled()->Init(prefs::kReverseAutologinEnabled,
- pref_service, NULL);
+ pref_service);
one_click_signin_rejected_email_list()->Init(
- prefs::kReverseAutologinRejectedEmailList, pref_service, NULL);
+ prefs::kReverseAutologinRejectedEmailList, pref_service);
google_services_username_pattern()->Init(
- prefs::kGoogleServicesUsernamePattern, local_state, NULL);
+ prefs::kGoogleServicesUsernamePattern, local_state);
set_signin_names_for_testing(new SigninNamesOnIOThread());
SetCookieSettingsForTesting(cookie_settings);

Powered by Google App Engine
This is Rietveld 408576698