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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // startup are still running. 77 // startup are still running.
78 void CreateStartupTasks(); 78 void CreateStartupTasks();
79 79
80 // Perform the default message loop run logic. 80 // Perform the default message loop run logic.
81 void RunMainMessageLoopParts(); 81 void RunMainMessageLoopParts();
82 82
83 // Performs the shutdown sequence, starting with PostMainMessageLoopRun 83 // Performs the shutdown sequence, starting with PostMainMessageLoopRun
84 // through stopping threads to PostDestroyThreads. 84 // through stopping threads to PostDestroyThreads.
85 void ShutdownThreadsAndCleanUp(); 85 void ShutdownThreadsAndCleanUp();
86 86
87 #if defined(OS_MACOSX) && !defined(OS_IOS)
88 void StartMonitoring();
Robert Sesek 2014/03/10 17:22:46 This is not the right place to put this. Expose a
mcasas 2014/03/10 18:19:45 Done.
89 #endif
90
87 int GetResultCode() const { return result_code_; } 91 int GetResultCode() const { return result_code_; }
88 92
89 media::AudioManager* audio_manager() const { return audio_manager_.get(); } 93 media::AudioManager* audio_manager() const { return audio_manager_.get(); }
90 AudioMirroringManager* audio_mirroring_manager() const { 94 AudioMirroringManager* audio_mirroring_manager() const {
91 return audio_mirroring_manager_.get(); 95 return audio_mirroring_manager_.get();
92 } 96 }
93 MediaStreamManager* media_stream_manager() const { 97 MediaStreamManager* media_stream_manager() const {
94 return media_stream_manager_.get(); 98 return media_stream_manager_.get();
95 } 99 }
96 media::UserInputMonitor* user_input_monitor() const { 100 media::UserInputMonitor* user_input_monitor() const {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; 184 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_;
181 185
182 bool is_tracing_startup_; 186 bool is_tracing_startup_;
183 187
184 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 188 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
185 }; 189 };
186 190
187 } // namespace content 191 } // namespace content
188 192
189 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 193 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | content/browser/renderer_host/media/media_stream_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698