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

Unified Diff: content/browser/browser_main_loop.cc

Issue 9363008: Add Media device notification to SystemMonitor and Mac impl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Type Created 8 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
« no previous file with comments | « base/test/mock_devices_changed_observer.cc ('k') | content/browser/mac/media_device_notifications.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index af21209e88cb3c6c95ad9991d8a4dc129a037eca..430e76fdaa147b5254503a69adfe6a8b5aa2e707 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -53,6 +53,10 @@
#include "net/base/winsock_init.h"
#endif
+#if defined(OS_MACOSX)
+#include "content/browser/mac/media_device_notifications.h"
+#endif
+
#if defined(OS_LINUX) || defined(OS_OPENBSD)
#include <glib-object.h>
#endif
@@ -327,6 +331,8 @@ void BrowserMainLoop::MainMessageLoopStart() {
#if defined(OS_WIN)
system_message_window_.reset(new SystemMessageWindowWin);
+#elif defined(OS_MACOSX)
+ StartMediaDeviceNotifications();
#endif
// Prior to any processing happening on the io thread, we create the
« no previous file with comments | « base/test/mock_devices_changed_observer.cc ('k') | content/browser/mac/media_device_notifications.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698