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

Unified Diff: chrome/browser/media/media_capture_devices_dispatcher.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/browser/media/media_capture_devices_dispatcher.cc
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.cc b/chrome/browser/media/media_capture_devices_dispatcher.cc
index e31e09db1a89e9fdafdd761519b1116617d837e5..91923c6cf012d022b5329c03b1dd148e8bd1a352 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc
@@ -18,16 +18,17 @@ MediaCaptureDevicesDispatcher::MediaCaptureDevicesDispatcher()
MediaCaptureDevicesDispatcher::~MediaCaptureDevicesDispatcher() {}
-void MediaCaptureDevicesDispatcher::RegisterUserPrefs(PrefService* user_prefs) {
+void MediaCaptureDevicesDispatcher::RegisterUserPrefs(
+ PrefServiceSyncable* user_prefs) {
if (!user_prefs->FindPreference(prefs::kDefaultAudioCaptureDevice)) {
user_prefs->RegisterStringPref(prefs::kDefaultAudioCaptureDevice,
std::string(),
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
if (!user_prefs->FindPreference(prefs::kDefaultVideoCaptureDevice)) {
user_prefs->RegisterStringPref(prefs::kDefaultVideoCaptureDevice,
std::string(),
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
}

Powered by Google App Engine
This is Rietveld 408576698