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" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 scoped_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; | 167 scoped_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; |
168 scoped_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; | 168 scoped_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; |
169 | 169 |
170 // Members initialized in |RunMainMessageLoopParts()| ------------------------ | 170 // Members initialized in |RunMainMessageLoopParts()| ------------------------ |
171 scoped_ptr<BrowserProcessSubThread> db_thread_; | 171 scoped_ptr<BrowserProcessSubThread> db_thread_; |
172 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 172 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
173 scoped_ptr<BrowserProcessSubThread> file_thread_; | 173 scoped_ptr<BrowserProcessSubThread> file_thread_; |
174 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; | 174 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; |
175 scoped_ptr<BrowserProcessSubThread> cache_thread_; | 175 scoped_ptr<BrowserProcessSubThread> cache_thread_; |
176 scoped_ptr<BrowserProcessSubThread> io_thread_; | 176 scoped_ptr<BrowserProcessSubThread> io_thread_; |
| 177 scoped_ptr<BrowserProcessSubThread> power_profiler_thread_; |
177 scoped_ptr<base::Thread> indexed_db_thread_; | 178 scoped_ptr<base::Thread> indexed_db_thread_; |
178 scoped_ptr<MemoryObserver> memory_observer_; | 179 scoped_ptr<MemoryObserver> memory_observer_; |
179 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; | 180 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; |
180 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; | 181 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; |
181 | 182 |
182 bool is_tracing_startup_; | 183 bool is_tracing_startup_; |
183 | 184 |
184 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 185 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
185 }; | 186 }; |
186 | 187 |
187 } // namespace content | 188 } // namespace content |
188 | 189 |
189 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 190 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |