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

Unified Diff: content/browser/browser_main_loop.h

Issue 189443010: Mac AVFoundation/QTKit: delay DeviceMonitorMac startup to first GetUserMedia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change included file device_monitor_mac.h with the forward declaration of the class & necessary met… Created 6 years, 9 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 | « no previous file | content/browser/device_monitor_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index 5c16af450e49771d922d69ad4a73488b6ff87569..e04999b005d883d02a5d07252152b5b212d5e26a 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -101,6 +101,12 @@ class CONTENT_EXPORT BrowserMainLoop {
bool is_tracing_startup() const { return is_tracing_startup_; }
+#if defined(OS_MACOSX) && !defined(OS_IOS)
+ DeviceMonitorMac* device_monitor_mac() const {
+ return device_monitor_mac_.get();
+ }
+#endif
+
private:
class MemoryObserver;
// For ShutdownThreadsAndCleanUp.
« no previous file with comments | « no previous file | content/browser/device_monitor_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698