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/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "content/browser/browser_process_sub_thread.h" | 11 #include "content/browser/browser_process_sub_thread.h" |
12 #include "content/public/browser/browser_main_runner.h" | 12 #include "content/public/browser/browser_main_runner.h" |
13 | 13 |
14 class CommandLine; | 14 class CommandLine; |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class HighResolutionTimerManager; | 17 class HighResolutionTimerManager; |
18 class MessageLoop; | 18 class MessageLoop; |
19 class PowerMonitor; | 19 class PowerMonitor; |
20 class SystemMonitor; | 20 class SystemMonitor; |
21 namespace debug { | 21 namespace debug { |
22 class TraceMemoryController; | 22 class TraceMemoryController; |
| 23 class TraceEventSystemStatsMonitor; |
23 } // namespace debug | 24 } // namespace debug |
24 } // namespace base | 25 } // namespace base |
25 | 26 |
26 namespace media { | 27 namespace media { |
27 class AudioManager; | 28 class AudioManager; |
28 class MIDIManager; | 29 class MIDIManager; |
29 class UserInputMonitor; | 30 class UserInputMonitor; |
30 } // namespace media | 31 } // namespace media |
31 | 32 |
32 namespace net { | 33 namespace net { |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // Members initialized in |RunMainMessageLoopParts()| ------------------------ | 158 // Members initialized in |RunMainMessageLoopParts()| ------------------------ |
158 scoped_ptr<BrowserProcessSubThread> db_thread_; | 159 scoped_ptr<BrowserProcessSubThread> db_thread_; |
159 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 160 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
160 scoped_ptr<BrowserProcessSubThread> file_thread_; | 161 scoped_ptr<BrowserProcessSubThread> file_thread_; |
161 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; | 162 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; |
162 scoped_ptr<BrowserProcessSubThread> cache_thread_; | 163 scoped_ptr<BrowserProcessSubThread> cache_thread_; |
163 scoped_ptr<BrowserProcessSubThread> io_thread_; | 164 scoped_ptr<BrowserProcessSubThread> io_thread_; |
164 scoped_ptr<base::Thread> indexed_db_thread_; | 165 scoped_ptr<base::Thread> indexed_db_thread_; |
165 scoped_ptr<MemoryObserver> memory_observer_; | 166 scoped_ptr<MemoryObserver> memory_observer_; |
166 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; | 167 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; |
| 168 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; |
167 | 169 |
168 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 170 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
169 }; | 171 }; |
170 | 172 |
171 } // namespace content | 173 } // namespace content |
172 | 174 |
173 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 175 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |