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

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

Issue 16625004: components: Move user_prefs into user_prefs namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index b3ad1cda897d99578681ba7915e5ceb754b1494f..466191ef87ab5d1919fbd92bac2f308e25aac66f 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -288,7 +288,7 @@ void TestingProfile::Init() {
EnsureBrowserContextKeyedServiceFactoriesBuilt();
if (prefs_.get())
- components::UserPrefs::Set(this, prefs_.get());
+ user_prefs::UserPrefs::Set(this, prefs_.get());
else
CreateTestingPrefService();
@@ -559,7 +559,7 @@ void TestingProfile::CreateTestingPrefService() {
DCHECK(!prefs_.get());
testing_prefs_ = new TestingPrefServiceSyncable();
prefs_.reset(testing_prefs_);
- components::UserPrefs::Set(this, prefs_.get());
+ user_prefs::UserPrefs::Set(this, prefs_.get());
chrome::RegisterUserPrefs(testing_prefs_->registry());
}

Powered by Google App Engine
This is Rietveld 408576698