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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (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/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 8b8aeabb0160513ab06d589e8d9b63d97d0b6758..4c82e4f6ea4941d85dc785678f1521c3c6e6b70e 100644
--- a/chrome/browser/prefs/pref_service_mock_builder.h
+++ b/chrome/browser/prefs/pref_service_mock_builder.h
@@ -13,7 +13,8 @@
class CommandLine;
class FilePath;
-class PrefService;
+class PrefServiceSimple;
+class PrefServiceSyncable;
namespace base {
class SequencedTaskRunner;
@@ -42,7 +43,8 @@ class PrefServiceMockBuilder : public PrefServiceBuilder {
// Creates a PrefService for testing, invalidating the entire
// builder configuration.
- virtual PrefService* Create() OVERRIDE;
+ PrefServiceSimple* CreateSimple();
+ PrefServiceSyncable* CreateSyncable();
private:
void ResetTestingState();

Powered by Google App Engine
This is Rietveld 408576698