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

Unified Diff: chrome/browser/extensions/platform_app_browsertest.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/extension_web_ui.cc ('k') | chrome/browser/extensions/test_extension_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/platform_app_browsertest.cc
diff --git a/chrome/browser/extensions/platform_app_browsertest.cc b/chrome/browser/extensions/platform_app_browsertest.cc
index cab680e3116630efa319eb5a368038ecedc4b808..29a98c9062b9926707c6dc069e434d6033526144 100644
--- a/chrome/browser/extensions/platform_app_browsertest.cc
+++ b/chrome/browser/extensions/platform_app_browsertest.cc
@@ -851,10 +851,13 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
pref_path += extension->id();
pref_path += ".manifest.version";
// TODO(joi): Do registrations up front.
- PrefRegistrySyncable* registry = static_cast<PrefRegistrySyncable*>(
- extension_prefs->pref_service()->DeprecatedGetPrefRegistry());
+ user_prefs::PrefRegistrySyncable* registry =
+ static_cast<user_prefs::PrefRegistrySyncable*>(
+ extension_prefs->pref_service()->DeprecatedGetPrefRegistry());
registry->RegisterStringPref(
- pref_path.c_str(), std::string(), PrefRegistrySyncable::UNSYNCABLE_PREF);
+ pref_path.c_str(),
+ std::string(),
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
extension_prefs->pref_service()->Set(pref_path.c_str(), old_version);
}
« no previous file with comments | « chrome/browser/extensions/extension_web_ui.cc ('k') | chrome/browser/extensions/test_extension_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698