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

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

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 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/google/google_url_tracker_factory.cc ('k') | chrome/browser/media/media_device_id_salt.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ec8043d89d50ea3d6b82fa81af7ccbbd3aacacf2..851b456bfdc85dc0aa8a407902dd27285ad1db21 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc
@@ -290,14 +290,10 @@ MediaCaptureDevicesDispatcher::~MediaCaptureDevicesDispatcher() {}
void MediaCaptureDevicesDispatcher::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
- registry->RegisterStringPref(
- prefs::kDefaultAudioCaptureDevice,
- std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterStringPref(
- prefs::kDefaultVideoCaptureDevice,
- std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterStringPref(prefs::kDefaultAudioCaptureDevice,
+ std::string());
+ registry->RegisterStringPref(prefs::kDefaultVideoCaptureDevice,
+ std::string());
}
void MediaCaptureDevicesDispatcher::AddObserver(Observer* observer) {
« no previous file with comments | « chrome/browser/google/google_url_tracker_factory.cc ('k') | chrome/browser/media/media_device_id_salt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698