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

Side by Side Diff: content/browser/browser_main_loop.h

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 8 #include <memory>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 17 matching lines...) Expand all
28 class HighResolutionTimerManager; 28 class HighResolutionTimerManager;
29 class MessageLoop; 29 class MessageLoop;
30 class PowerMonitor; 30 class PowerMonitor;
31 class SystemMonitor; 31 class SystemMonitor;
32 class MemoryPressureMonitor; 32 class MemoryPressureMonitor;
33 namespace trace_event { 33 namespace trace_event {
34 class TraceEventSystemStatsMonitor; 34 class TraceEventSystemStatsMonitor;
35 } // namespace trace_event 35 } // namespace trace_event
36 } // namespace base 36 } // namespace base
37 37
38 namespace media { 38 namespace device {
39 #if defined(OS_WIN) 39 #if defined(OS_WIN)
40 class SystemMessageWindowWin; 40 class SystemMessageWindowWin;
41 #elif defined(OS_LINUX) && defined(USE_UDEV) 41 #elif defined(OS_LINUX) && defined(USE_UDEV)
42 class DeviceMonitorLinux; 42 class DeviceMonitorUdev;
43 #endif 43 #elif defined(OS_MACOSX)
44 class UserInputMonitor;
45 #if defined(OS_MACOSX)
46 class DeviceMonitorMac; 44 class DeviceMonitorMac;
47 #endif 45 #endif
46 } // namespace device
47
48 namespace media {
49 class UserInputMonitor;
48 namespace midi { 50 namespace midi {
49 class MidiManager; 51 class MidiManager;
50 } // namespace midi 52 } // namespace midi
51 } // namespace media 53 } // namespace media
52 54
53 namespace memory_coordinator { 55 namespace memory_coordinator {
54 class MemoryCoordinator; 56 class MemoryCoordinator;
55 } // namespace memory_coordinator 57 } // namespace memory_coordinator
56 58
57 namespace mojo { 59 namespace mojo {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 return startup_trace_file_; 147 return startup_trace_file_;
146 } 148 }
147 149
148 void StopStartupTracingTimer(); 150 void StopStartupTracingTimer();
149 151
150 memory_coordinator::MemoryCoordinator* memory_coordinator() const { 152 memory_coordinator::MemoryCoordinator* memory_coordinator() const {
151 return memory_coordinator_.get(); 153 return memory_coordinator_.get();
152 } 154 }
153 155
154 #if defined(OS_MACOSX) && !defined(OS_IOS) 156 #if defined(OS_MACOSX) && !defined(OS_IOS)
155 media::DeviceMonitorMac* device_monitor_mac() const { 157 device::DeviceMonitorMac* device_monitor_mac() const {
156 return device_monitor_mac_.get(); 158 return device_monitor_mac_.get();
157 } 159 }
158 #endif 160 #endif
159 161
160 private: 162 private:
161 class MemoryObserver; 163 class MemoryObserver;
162 164
163 void InitializeMainThread(); 165 void InitializeMainThread();
164 166
165 // Called just before creating the threads 167 // Called just before creating the threads
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 276
275 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. 277 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first.
276 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; 278 std::unique_ptr<media::UserInputMonitor> user_input_monitor_;
277 // AudioThread needs to outlive |audio_manager_|. 279 // AudioThread needs to outlive |audio_manager_|.
278 std::unique_ptr<base::Thread> audio_thread_; 280 std::unique_ptr<base::Thread> audio_thread_;
279 media::ScopedAudioManagerPtr audio_manager_; 281 media::ScopedAudioManagerPtr audio_manager_;
280 282
281 std::unique_ptr<media::midi::MidiManager> midi_manager_; 283 std::unique_ptr<media::midi::MidiManager> midi_manager_;
282 284
283 #if defined(OS_WIN) 285 #if defined(OS_WIN)
284 std::unique_ptr<media::SystemMessageWindowWin> system_message_window_; 286 std::unique_ptr<device::SystemMessageWindowWin> system_message_window_;
285 #elif defined(OS_LINUX) && defined(USE_UDEV) 287 #elif defined(OS_LINUX) && defined(USE_UDEV)
286 std::unique_ptr<media::DeviceMonitorLinux> device_monitor_linux_; 288 std::unique_ptr<device::DeviceMonitorUdev> device_monitor_linux_;
287 #elif defined(OS_MACOSX) && !defined(OS_IOS) 289 #elif defined(OS_MACOSX) && !defined(OS_IOS)
288 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_; 290 std::unique_ptr<device::DeviceMonitorMac> device_monitor_mac_;
289 #endif 291 #endif
290 #if defined(USE_OZONE) 292 #if defined(USE_OZONE)
291 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; 293 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_;
292 #endif 294 #endif
293 295
294 std::unique_ptr<LoaderDelegateImpl> loader_delegate_; 296 std::unique_ptr<LoaderDelegateImpl> loader_delegate_;
295 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; 297 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_;
296 std::unique_ptr<MediaStreamManager> media_stream_manager_; 298 std::unique_ptr<MediaStreamManager> media_stream_manager_;
297 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; 299 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_;
298 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; 300 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_;
299 301
300 // DO NOT add members here. Add them to the right categories above. 302 // DO NOT add members here. Add them to the right categories above.
301 303
302 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 304 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
303 }; 305 };
304 306
305 } // namespace content 307 } // namespace content
306 308
307 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 309 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698