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

Unified Diff: chrome/browser/extensions/test_extension_prefs.cc

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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/extensions/test_extension_prefs.h ('k') | chrome/browser/first_run/first_run.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/test_extension_prefs.cc
diff --git a/chrome/browser/extensions/test_extension_prefs.cc b/chrome/browser/extensions/test_extension_prefs.cc
index a1871a837fcb607635aaea2a9a7cf6f18e122f98..5b12d01f7b230b5359745378c66d6aa65d56a65b 100644
--- a/chrome/browser/extensions/test_extension_prefs.cc
+++ b/chrome/browser/extensions/test_extension_prefs.cc
@@ -77,12 +77,13 @@ PrefService* TestExtensionPrefs::pref_service() {
return pref_service_.get();
}
-const scoped_refptr<PrefRegistrySyncable>& TestExtensionPrefs::pref_registry() {
+const scoped_refptr<user_prefs::PrefRegistrySyncable>&
+TestExtensionPrefs::pref_registry() {
return pref_registry_;
}
void TestExtensionPrefs::ResetPrefRegistry() {
- pref_registry_ = new PrefRegistrySyncable;
+ pref_registry_ = new user_prefs::PrefRegistrySyncable;
ExtensionPrefs::RegisterUserPrefs(pref_registry_);
}
« no previous file with comments | « chrome/browser/extensions/test_extension_prefs.h ('k') | chrome/browser/first_run/first_run.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698