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

Unified Diff: chrome/browser/renderer_host/pepper/device_id_fetcher.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/renderer_host/pepper/device_id_fetcher.h ('k') | chrome/browser/search/search.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/pepper/device_id_fetcher.cc
diff --git a/chrome/browser/renderer_host/pepper/device_id_fetcher.cc b/chrome/browser/renderer_host/pepper/device_id_fetcher.cc
index 669815617381bfee27957cb896f9d7efa73c9cc3..79285a63733f4a5f8eb3dc399bfb54fc858c8da2 100644
--- a/chrome/browser/renderer_host/pepper/device_id_fetcher.cc
+++ b/chrome/browser/renderer_host/pepper/device_id_fetcher.cc
@@ -63,13 +63,17 @@ void DeviceIDFetcher::Start(BrowserPpapiHost* browser_host) {
}
// static
-void DeviceIDFetcher::RegisterUserPrefs(PrefRegistrySyncable* prefs) {
+void DeviceIDFetcher::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* prefs) {
// TODO(wad): Once UI is connected, a final default can be set. At that point
// change this pref from UNSYNCABLE to SYNCABLE.
- prefs->RegisterBooleanPref(prefs::kEnableDRM, true,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- prefs->RegisterStringPref(prefs::kDRMSalt, "",
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ prefs->RegisterBooleanPref(prefs::kEnableDRM,
+ true,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ prefs->RegisterStringPref(
+ prefs::kDRMSalt,
+ "",
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
// static
« no previous file with comments | « chrome/browser/renderer_host/pepper/device_id_fetcher.h ('k') | chrome/browser/search/search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698