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

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

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again; base::File changes conflicted. Created 7 years, 10 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
Index: chrome/browser/media/media_capture_devices_dispatcher.h
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.h b/chrome/browser/media/media_capture_devices_dispatcher.h
index b28bb2f5fa8f59fd77c1ee7f6c1d77d70a0c627e..8c3533199817ae0bd4c2c075e30d759d551176ad 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.h
+++ b/chrome/browser/media/media_capture_devices_dispatcher.h
@@ -13,7 +13,8 @@
#include "content/public/common/media_stream_request.h"
class MediaStreamCaptureIndicator;
-class PrefServiceSyncable;
+class PrefRegistrySyncable;
+class PrefService;
class Profile;
// This singleton is used to receive updates about media events from the content
@@ -45,7 +46,8 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver {
static MediaCaptureDevicesDispatcher* GetInstance();
// Registers the preferences related to Media Stream default devices.
- static void RegisterUserPrefs(PrefServiceSyncable* user_prefs);
+ static void RegisterUserPrefs(PrefService* user_prefs,
+ PrefRegistrySyncable* registry);
// Methods for observers. Called on UI thread.
// Observers should add themselves on construction and remove themselves
« no previous file with comments | « chrome/browser/managed_mode/managed_user_service.cc ('k') | chrome/browser/media/media_capture_devices_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698