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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 class ClientNativePixmapFactory; | 69 class ClientNativePixmapFactory; |
70 } // namespace ui | 70 } // namespace ui |
71 #endif | 71 #endif |
72 | 72 |
73 namespace content { | 73 namespace content { |
74 class BrowserMainParts; | 74 class BrowserMainParts; |
75 class BrowserOnlineStateObserver; | 75 class BrowserOnlineStateObserver; |
76 class BrowserThreadImpl; | 76 class BrowserThreadImpl; |
77 class LoaderDelegateImpl; | 77 class LoaderDelegateImpl; |
78 class MediaStreamManager; | 78 class MediaStreamManager; |
79 class MojoShellContext; | |
80 class ResourceDispatcherHostImpl; | 79 class ResourceDispatcherHostImpl; |
81 class SaveFileManager; | 80 class SaveFileManager; |
| 81 class ServiceManagerContext; |
82 class SpeechRecognitionManagerImpl; | 82 class SpeechRecognitionManagerImpl; |
83 class StartupTaskRunner; | 83 class StartupTaskRunner; |
84 struct MainFunctionParams; | 84 struct MainFunctionParams; |
85 | 85 |
86 #if defined(OS_ANDROID) | 86 #if defined(OS_ANDROID) |
87 class ScreenOrientationDelegate; | 87 class ScreenOrientationDelegate; |
88 #elif defined(OS_WIN) | 88 #elif defined(OS_WIN) |
89 class ScreenOrientationDelegate; | 89 class ScreenOrientationDelegate; |
90 #endif | 90 #endif |
91 | 91 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 // Members initialized in |CreateThreads()| ---------------------------------- | 271 // Members initialized in |CreateThreads()| ---------------------------------- |
272 std::unique_ptr<BrowserProcessSubThread> db_thread_; | 272 std::unique_ptr<BrowserProcessSubThread> db_thread_; |
273 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 273 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
274 std::unique_ptr<BrowserProcessSubThread> file_thread_; | 274 std::unique_ptr<BrowserProcessSubThread> file_thread_; |
275 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; | 275 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; |
276 std::unique_ptr<BrowserProcessSubThread> cache_thread_; | 276 std::unique_ptr<BrowserProcessSubThread> cache_thread_; |
277 std::unique_ptr<BrowserProcessSubThread> io_thread_; | 277 std::unique_ptr<BrowserProcessSubThread> io_thread_; |
278 | 278 |
279 // Members initialized in |BrowserThreadsStarted()| -------------------------- | 279 // Members initialized in |BrowserThreadsStarted()| -------------------------- |
280 std::unique_ptr<base::Thread> indexed_db_thread_; | 280 std::unique_ptr<base::Thread> indexed_db_thread_; |
281 std::unique_ptr<MojoShellContext> mojo_shell_context_; | 281 std::unique_ptr<ServiceManagerContext> service_manager_context_; |
282 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; | 282 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; |
283 | 283 |
284 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. | 284 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. |
285 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; | 285 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; |
286 // AudioThread needs to outlive |audio_manager_|. | 286 // AudioThread needs to outlive |audio_manager_|. |
287 std::unique_ptr<base::Thread> audio_thread_; | 287 std::unique_ptr<base::Thread> audio_thread_; |
288 media::ScopedAudioManagerPtr audio_manager_; | 288 media::ScopedAudioManagerPtr audio_manager_; |
289 | 289 |
290 std::unique_ptr<media::midi::MidiManager> midi_manager_; | 290 std::unique_ptr<media::midi::MidiManager> midi_manager_; |
291 | 291 |
(...skipping 16 matching lines...) Expand all Loading... |
308 scoped_refptr<SaveFileManager> save_file_manager_; | 308 scoped_refptr<SaveFileManager> save_file_manager_; |
309 | 309 |
310 // DO NOT add members here. Add them to the right categories above. | 310 // DO NOT add members here. Add them to the right categories above. |
311 | 311 |
312 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 312 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
313 }; | 313 }; |
314 | 314 |
315 } // namespace content | 315 } // namespace content |
316 | 316 |
317 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 317 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |