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

Unified Diff: chrome/browser/metrics/variations/variations_service_unittest.cc

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix double registration in Chrome Frame test. Created 7 years, 10 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/metrics/variations/variations_service_unittest.cc
diff --git a/chrome/browser/metrics/variations/variations_service_unittest.cc b/chrome/browser/metrics/variations/variations_service_unittest.cc
index 2137be037c432d1065de264643b7e9755e2cb47e..de4794431ac2fa6b0bd0888ef705033bda126012 100644
--- a/chrome/browser/metrics/variations/variations_service_unittest.cc
+++ b/chrome/browser/metrics/variations/variations_service_unittest.cc
@@ -340,7 +340,7 @@ TEST(VariationsServiceTest, IsStudyExpired) {
TEST(VariationsServiceTest, LoadSeed) {
TestingPrefServiceSimple pref_service;
- VariationsService::RegisterPrefs(&pref_service);
+ VariationsService::RegisterPrefs(pref_service.registry());
// Store good seed data to test if loading from prefs works.
TrialsSeed seed = CreateTestSeed();
@@ -380,7 +380,7 @@ TEST(VariationsServiceTest, LoadSeed) {
TEST(VariationsServiceTest, StoreSeed) {
TestingPrefServiceSimple pref_service;
- VariationsService::RegisterPrefs(&pref_service);
+ VariationsService::RegisterPrefs(pref_service.registry());
const base::Time now = base::Time::Now();
TrialsSeed seed = CreateTestSeed();
« no previous file with comments | « chrome/browser/metrics/variations/variations_service.cc ('k') | chrome/browser/net/http_server_properties_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698