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

Unified Diff: chrome/test/base/testing_browser_process.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/chrome_browser.gypi ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_browser_process.h
diff --git a/chrome/test/base/testing_browser_process.h b/chrome/test/base/testing_browser_process.h
index 3d2a67707f482644bd66484f624fbcad4e4131f0..76da2ca074a3aaba02d5ce6fd6b3c9964f6f2ed6 100644
--- a/chrome/test/base/testing_browser_process.h
+++ b/chrome/test/base/testing_browser_process.h
@@ -22,7 +22,7 @@ class CRLSetFetcher;
class IOThread;
class MHTMLGenerationManager;
class NotificationUIManager;
-class PrefServiceSimple;
+class PrefService;
class WatchDogThread;
namespace content {
@@ -52,7 +52,7 @@ class TestingBrowserProcess : public BrowserProcess {
virtual IOThread* io_thread() OVERRIDE;
virtual WatchDogThread* watchdog_thread() OVERRIDE;
virtual ProfileManager* profile_manager() OVERRIDE;
- virtual PrefServiceSimple* local_state() OVERRIDE;
+ virtual PrefService* local_state() OVERRIDE;
virtual chrome_variations::VariationsService* variations_service() OVERRIDE;
virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
virtual policy::PolicyService* policy_service() OVERRIDE;
@@ -112,7 +112,7 @@ class TestingBrowserProcess : public BrowserProcess {
// Set the local state for tests. Consumer is responsible for cleaning it up
// afterwards (using ScopedTestingLocalState, for example).
- void SetLocalState(PrefServiceSimple* local_state);
+ void SetLocalState(PrefService* local_state);
void SetProfileManager(ProfileManager* profile_manager);
void SetIOThread(IOThread* io_thread);
void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector);
@@ -148,7 +148,7 @@ class TestingBrowserProcess : public BrowserProcess {
#endif // !defined(OS_IOS)
// The following objects are not owned by TestingBrowserProcess:
- PrefServiceSimple* local_state_;
+ PrefService* local_state_;
IOThread* io_thread_;
net::URLRequestContextGetter* system_request_context_;
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698