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

Unified Diff: chrome/test/base/testing_profile.h

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to PrefRegistrySyncable and PrefServiceSyncable to let sync know of pre-registered prefs. 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/test/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index 3161bfff139729270dc8885824f88d345d7100d9..b2bf77f16833fff0e4036609a9f8aee3ca94ef69 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -226,7 +226,7 @@ class TestingProfile : public Profile {
// to set a pref service you must invoke this before GetPrefs.
// TestingPrefService takes ownership of |prefs|.
void SetPrefService(PrefServiceSyncable* prefs);
- virtual PrefServiceSyncable* GetPrefs() OVERRIDE;
+ virtual PrefService* GetPrefs() OVERRIDE;
virtual history::TopSites* GetTopSites() OVERRIDE;
virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
@@ -294,7 +294,7 @@ class TestingProfile : public Profile {
const base::Closure& completion) OVERRIDE;
virtual GURL GetHomePage() OVERRIDE;
- virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE;
+ virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
protected:
base::Time start_time_;

Powered by Google App Engine
This is Rietveld 408576698