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

Unified Diff: chrome/test/base/testing_browser_process.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review. 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/test/base/testing_browser_process.cc
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index 33483818d216138bb63e92e88735cce9ea4511bf..7283813497584541af0c117cbbc2834f0a97f642 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -82,7 +82,7 @@ void TestingBrowserProcess::SetProfileManager(ProfileManager* profile_manager) {
#endif
}
-PrefService* TestingBrowserProcess::local_state() {
+PrefServiceSimple* TestingBrowserProcess::local_state() {
return local_state_;
}
@@ -317,7 +317,7 @@ void TestingBrowserProcess::SetSystemRequestContext(
system_request_context_ = context_getter;
}
-void TestingBrowserProcess::SetLocalState(PrefService* local_state) {
+void TestingBrowserProcess::SetLocalState(PrefServiceSimple* local_state) {
if (!local_state) {
// The local_state_ PrefService is owned outside of TestingBrowserProcess,
// but some of the members of TestingBrowserProcess hold references to it

Powered by Google App Engine
This is Rietveld 408576698