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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 10332190: Add SystemMonitor::GetMediaDevices() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 7 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/browser_process_impl.h
===================================================================
--- chrome/browser/browser_process_impl.h (revision 137377)
+++ chrome/browser/browser_process_impl.h (working copy)
@@ -30,6 +30,10 @@
class RemoteDebuggingServer;
class TabCloseableStateWatcher;
+namespace chrome {
+class MediaDeviceManager;
+}
+
namespace policy {
class BrowserPolicyConnector;
class PolicyService;
@@ -113,7 +117,9 @@
virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
virtual ComponentUpdateService* component_updater() OVERRIDE;
virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
+ virtual chrome::MediaDeviceManager* media_device_manager() OVERRIDE;
+
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
@@ -238,6 +244,9 @@
// Monitors the state of the 'DisablePluginFinder' policy.
scoped_ptr<BooleanPrefMember> plugin_finder_disabled_pref_;
+ // Keeps track of media device attachments/detechments.
+ scoped_ptr<chrome::MediaDeviceManager> media_device_manager_;
+
#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_;

Powered by Google App Engine
This is Rietveld 408576698