OLD | NEW |
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 Loading... |
28 class HighResolutionTimerManager; | 28 class HighResolutionTimerManager; |
29 class MemoryPressureMonitor; | 29 class MemoryPressureMonitor; |
30 class MessageLoop; | 30 class MessageLoop; |
31 class PowerMonitor; | 31 class PowerMonitor; |
32 class SystemMonitor; | 32 class SystemMonitor; |
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 device { | |
39 class TimeZoneMonitor; | |
40 } | |
41 | |
42 namespace discardable_memory { | 38 namespace discardable_memory { |
43 class DiscardableSharedMemoryManager; | 39 class DiscardableSharedMemoryManager; |
44 } | 40 } |
45 | 41 |
46 namespace media { | 42 namespace media { |
47 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
48 class SystemMessageWindowWin; | 44 class SystemMessageWindowWin; |
49 #elif defined(OS_LINUX) && defined(USE_UDEV) | 45 #elif defined(OS_LINUX) && defined(USE_UDEV) |
50 class DeviceMonitorLinux; | 46 class DeviceMonitorLinux; |
51 #endif | 47 #endif |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 135 |
140 int GetResultCode() const { return result_code_; } | 136 int GetResultCode() const { return result_code_; } |
141 | 137 |
142 media::AudioManager* audio_manager() const { return audio_manager_.get(); } | 138 media::AudioManager* audio_manager() const { return audio_manager_.get(); } |
143 MediaStreamManager* media_stream_manager() const { | 139 MediaStreamManager* media_stream_manager() const { |
144 return media_stream_manager_.get(); | 140 return media_stream_manager_.get(); |
145 } | 141 } |
146 media::UserInputMonitor* user_input_monitor() const { | 142 media::UserInputMonitor* user_input_monitor() const { |
147 return user_input_monitor_.get(); | 143 return user_input_monitor_.get(); |
148 } | 144 } |
149 device::TimeZoneMonitor* time_zone_monitor() const { | |
150 return time_zone_monitor_.get(); | |
151 } | |
152 discardable_memory::DiscardableSharedMemoryManager* | 145 discardable_memory::DiscardableSharedMemoryManager* |
153 discardable_shared_memory_manager() const { | 146 discardable_shared_memory_manager() const { |
154 return discardable_shared_memory_manager_.get(); | 147 return discardable_shared_memory_manager_.get(); |
155 } | 148 } |
156 midi::MidiService* midi_service() const { return midi_service_.get(); } | 149 midi::MidiService* midi_service() const { return midi_service_.get(); } |
157 base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); } | 150 base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); } |
158 | 151 |
159 bool is_tracing_startup_for_duration() const { | 152 bool is_tracing_startup_for_duration() const { |
160 return is_tracing_startup_for_duration_; | 153 return is_tracing_startup_for_duration_; |
161 } | 154 } |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_; | 305 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_; |
313 #endif | 306 #endif |
314 #if defined(USE_OZONE) | 307 #if defined(USE_OZONE) |
315 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; | 308 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; |
316 #endif | 309 #endif |
317 | 310 |
318 std::unique_ptr<LoaderDelegateImpl> loader_delegate_; | 311 std::unique_ptr<LoaderDelegateImpl> loader_delegate_; |
319 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; | 312 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; |
320 std::unique_ptr<MediaStreamManager> media_stream_manager_; | 313 std::unique_ptr<MediaStreamManager> media_stream_manager_; |
321 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; | 314 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; |
322 std::unique_ptr<device::TimeZoneMonitor> time_zone_monitor_; | |
323 std::unique_ptr<discardable_memory::DiscardableSharedMemoryManager> | 315 std::unique_ptr<discardable_memory::DiscardableSharedMemoryManager> |
324 discardable_shared_memory_manager_; | 316 discardable_shared_memory_manager_; |
325 scoped_refptr<SaveFileManager> save_file_manager_; | 317 scoped_refptr<SaveFileManager> save_file_manager_; |
326 | 318 |
327 // DO NOT add members here. Add them to the right categories above. | 319 // DO NOT add members here. Add them to the right categories above. |
328 | 320 |
329 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 321 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
330 }; | 322 }; |
331 | 323 |
332 } // namespace content | 324 } // namespace content |
333 | 325 |
334 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 326 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |