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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/browser/browser_process_sub_thread.h" | 10 #include "content/browser/browser_process_sub_thread.h" |
11 | 11 |
12 class CommandLine; | 12 class CommandLine; |
13 class HighResolutionTimerManager; | |
14 | 13 |
15 namespace base { | 14 namespace base { |
| 15 class HighResolutionTimerManager; |
16 class MessageLoop; | 16 class MessageLoop; |
17 class PowerMonitor; | 17 class PowerMonitor; |
18 class SystemMonitor; | 18 class SystemMonitor; |
19 } | 19 } |
20 | 20 |
21 namespace media { | 21 namespace media { |
22 class AudioManager; | 22 class AudioManager; |
23 class MIDIManager; | 23 class MIDIManager; |
24 } | 24 } |
25 | 25 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 // Members initialized on construction --------------------------------------- | 100 // Members initialized on construction --------------------------------------- |
101 const MainFunctionParams& parameters_; | 101 const MainFunctionParams& parameters_; |
102 const CommandLine& parsed_command_line_; | 102 const CommandLine& parsed_command_line_; |
103 int result_code_; | 103 int result_code_; |
104 | 104 |
105 // Members initialized in |MainMessageLoopStart()| --------------------------- | 105 // Members initialized in |MainMessageLoopStart()| --------------------------- |
106 scoped_ptr<base::MessageLoop> main_message_loop_; | 106 scoped_ptr<base::MessageLoop> main_message_loop_; |
107 scoped_ptr<base::SystemMonitor> system_monitor_; | 107 scoped_ptr<base::SystemMonitor> system_monitor_; |
108 scoped_ptr<base::PowerMonitor> power_monitor_; | 108 scoped_ptr<base::PowerMonitor> power_monitor_; |
109 scoped_ptr<HighResolutionTimerManager> hi_res_timer_manager_; | 109 scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_; |
110 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; | 110 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; |
111 scoped_ptr<media::AudioManager> audio_manager_; | 111 scoped_ptr<media::AudioManager> audio_manager_; |
112 scoped_ptr<media::MIDIManager> midi_manager_; | 112 scoped_ptr<media::MIDIManager> midi_manager_; |
113 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_; | 113 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_; |
114 scoped_ptr<MediaStreamManager> media_stream_manager_; | 114 scoped_ptr<MediaStreamManager> media_stream_manager_; |
115 // Per-process listener for online state changes. | 115 // Per-process listener for online state changes. |
116 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 116 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
117 #if defined(OS_WIN) | 117 #if defined(OS_WIN) |
118 scoped_ptr<SystemMessageWindowWin> system_message_window_; | 118 scoped_ptr<SystemMessageWindowWin> system_message_window_; |
119 #elif defined(OS_LINUX) | 119 #elif defined(OS_LINUX) |
(...skipping 26 matching lines...) Expand all Loading... |
146 scoped_ptr<BrowserProcessSubThread> io_thread_; | 146 scoped_ptr<BrowserProcessSubThread> io_thread_; |
147 scoped_ptr<base::Thread> indexed_db_thread_; | 147 scoped_ptr<base::Thread> indexed_db_thread_; |
148 scoped_ptr<MemoryObserver> memory_observer_; | 148 scoped_ptr<MemoryObserver> memory_observer_; |
149 | 149 |
150 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 150 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
151 }; | 151 }; |
152 | 152 |
153 } // namespace content | 153 } // namespace content |
154 | 154 |
155 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 155 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |