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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // Members initialized in |CreateThreads()| ---------------------------------- | 273 // Members initialized in |CreateThreads()| ---------------------------------- |
274 // Note: some |*_thread_| members below may never be initialized when | 274 // Note: some |*_thread_| members below may never be initialized when |
275 // redirection to TaskScheduler is enabled. (ref. | 275 // redirection to TaskScheduler is enabled. (ref. |
276 // ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler()). | 276 // ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler()). |
277 std::unique_ptr<BrowserProcessSubThread> db_thread_; | 277 std::unique_ptr<BrowserProcessSubThread> db_thread_; |
278 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 278 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
279 std::unique_ptr<BrowserProcessSubThread> file_thread_; | 279 std::unique_ptr<BrowserProcessSubThread> file_thread_; |
280 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; | 280 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; |
281 std::unique_ptr<BrowserProcessSubThread> cache_thread_; | 281 std::unique_ptr<BrowserProcessSubThread> cache_thread_; |
282 std::unique_ptr<BrowserProcessSubThread> io_thread_; | 282 std::unique_ptr<BrowserProcessSubThread> io_thread_; |
| 283 std::unique_ptr<BrowserProcessSubThread> window_server_thread_; |
283 | 284 |
284 // Members initialized in |BrowserThreadsStarted()| -------------------------- | 285 // Members initialized in |BrowserThreadsStarted()| -------------------------- |
285 std::unique_ptr<base::Thread> indexed_db_thread_; | 286 std::unique_ptr<base::Thread> indexed_db_thread_; |
286 std::unique_ptr<ServiceManagerContext> service_manager_context_; | 287 std::unique_ptr<ServiceManagerContext> service_manager_context_; |
287 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; | 288 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; |
288 | 289 |
289 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. | 290 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. |
290 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; | 291 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; |
291 std::unique_ptr<media::AudioManager> audio_manager_; | 292 std::unique_ptr<media::AudioManager> audio_manager_; |
292 // Calls to |audio_system_| must not be posted to the audio thread if it | 293 // Calls to |audio_system_| must not be posted to the audio thread if it |
(...skipping 26 matching lines...) Expand all Loading... |
319 memory_instrumentation_coordinator_; | 320 memory_instrumentation_coordinator_; |
320 | 321 |
321 // DO NOT add members here. Add them to the right categories above. | 322 // DO NOT add members here. Add them to the right categories above. |
322 | 323 |
323 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 324 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
324 }; | 325 }; |
325 | 326 |
326 } // namespace content | 327 } // namespace content |
327 | 328 |
328 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 329 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |