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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl_unittest.cc

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again; base::File changes conflicted. 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/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
index 4bd5c2b107e0c4855c6050794f480f81b2c3e2de..ba0a2150adfd198bc8ab491769f758c4d0fcac98 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl_unittest.cc
@@ -42,7 +42,7 @@ class TestingProfileWithHostZoomMap : public TestingProfile {
return off_the_record_profile_.get();
}
- virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE {
+ virtual PrefService* GetOffTheRecordPrefs() OVERRIDE {
return GetPrefs();
}
@@ -84,7 +84,7 @@ class OffTheRecordProfileImplTest : public BrowserWithTestWindowTest {
virtual void SetUp() OVERRIDE {
prefs_.reset(new TestingPrefServiceSimple);
- chrome::RegisterLocalState(prefs_->registry(), prefs_.get());
+ chrome::RegisterLocalState(prefs_.get(), prefs_->registry());
browser_process()->SetLocalState(prefs_.get());
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698