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

Unified Diff: chrome/browser/prefs/pref_service_mock_builder.h

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
« no previous file with comments | « chrome/browser/prefs/pref_service_builder.cc ('k') | chrome/browser/prefs/pref_service_mock_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_service_mock_builder.h
diff --git a/chrome/browser/prefs/pref_service_mock_builder.h b/chrome/browser/prefs/pref_service_mock_builder.h
index bfa00764dfc06e32792a520295f4b7f1ad5ceae9..6105e49678242347b63cd23911b635e26bc4655d 100644
--- a/chrome/browser/prefs/pref_service_mock_builder.h
+++ b/chrome/browser/prefs/pref_service_mock_builder.h
@@ -7,7 +7,7 @@
#include "chrome/browser/prefs/pref_service_syncable_builder.h"
-class PrefServiceSimple;
+class PrefService;
class PrefServiceSyncable;
// A helper that allows convenient building of custom PrefServices in tests.
@@ -18,7 +18,7 @@ class PrefServiceMockBuilder : public PrefServiceSyncableBuilder {
// Creates a PrefService for testing, invalidating the entire
// builder configuration.
- virtual PrefServiceSimple* CreateSimple() OVERRIDE;
+ virtual PrefService* Create(PrefRegistry* pref_registry) OVERRIDE;
virtual PrefServiceSyncable* CreateSyncable() OVERRIDE;
private:
« no previous file with comments | « chrome/browser/prefs/pref_service_builder.cc ('k') | chrome/browser/prefs/pref_service_mock_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698