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

Unified Diff: chrome/browser/extensions/app_notify_channel_setup_unittest.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review. 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/extensions/app_notify_channel_setup_unittest.cc
diff --git a/chrome/browser/extensions/app_notify_channel_setup_unittest.cc b/chrome/browser/extensions/app_notify_channel_setup_unittest.cc
index bd5966301ac73ed74ee6e2179ec5fbe8235084af..9582da66d3a65fa6e24e6bdb078b45a4754dfd6d 100644
--- a/chrome/browser/extensions/app_notify_channel_setup_unittest.cc
+++ b/chrome/browser/extensions/app_notify_channel_setup_unittest.cc
@@ -182,7 +182,7 @@ class AppNotifyChannelSetupTest : public testing::Test {
virtual ~AppNotifyChannelSetupTest() {}
virtual void SetLoggedInUser(const std::string username) {
- TestingPrefService* prefs = profile_.GetTestingPrefService();
+ TestingPrefServiceSyncable* prefs = profile_.GetTestingPrefService();
Mattias Nissler (ping if slow) 2012/12/19 19:50:22 could just use profile_->GetPrefs()->Set();
Jói 2012/12/20 16:30:31 Done.
prefs->SetUserPref(prefs::kGoogleServicesUsername,
new StringValue(username));
}

Powered by Google App Engine
This is Rietveld 408576698