| 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; |
| 80 class ServiceManagerContext; |
| 81 class SpeechRecognitionManagerImpl; | 81 class SpeechRecognitionManagerImpl; |
| 82 class StartupTaskRunner; | 82 class StartupTaskRunner; |
| 83 class TimeZoneMonitor; | 83 class TimeZoneMonitor; |
| 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 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 // Members initialized in |CreateThreads()| ---------------------------------- | 262 // Members initialized in |CreateThreads()| ---------------------------------- |
| 263 std::unique_ptr<BrowserProcessSubThread> db_thread_; | 263 std::unique_ptr<BrowserProcessSubThread> db_thread_; |
| 264 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 264 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
| 265 std::unique_ptr<BrowserProcessSubThread> file_thread_; | 265 std::unique_ptr<BrowserProcessSubThread> file_thread_; |
| 266 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; | 266 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; |
| 267 std::unique_ptr<BrowserProcessSubThread> cache_thread_; | 267 std::unique_ptr<BrowserProcessSubThread> cache_thread_; |
| 268 std::unique_ptr<BrowserProcessSubThread> io_thread_; | 268 std::unique_ptr<BrowserProcessSubThread> io_thread_; |
| 269 | 269 |
| 270 // Members initialized in |BrowserThreadsStarted()| -------------------------- | 270 // Members initialized in |BrowserThreadsStarted()| -------------------------- |
| 271 std::unique_ptr<base::Thread> indexed_db_thread_; | 271 std::unique_ptr<base::Thread> indexed_db_thread_; |
| 272 std::unique_ptr<MojoShellContext> mojo_shell_context_; | 272 std::unique_ptr<ServiceManagerContext> service_manager_context_; |
| 273 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; | 273 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; |
| 274 | 274 |
| 275 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. | 275 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. |
| 276 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; | 276 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; |
| 277 // AudioThread needs to outlive |audio_manager_|. | 277 // AudioThread needs to outlive |audio_manager_|. |
| 278 std::unique_ptr<base::Thread> audio_thread_; | 278 std::unique_ptr<base::Thread> audio_thread_; |
| 279 media::ScopedAudioManagerPtr audio_manager_; | 279 media::ScopedAudioManagerPtr audio_manager_; |
| 280 | 280 |
| 281 std::unique_ptr<media::midi::MidiManager> midi_manager_; | 281 std::unique_ptr<media::midi::MidiManager> midi_manager_; |
| 282 | 282 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 298 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; | 298 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; |
| 299 | 299 |
| 300 // DO NOT add members here. Add them to the right categories above. | 300 // DO NOT add members here. Add them to the right categories above. |
| 301 | 301 |
| 302 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 302 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } // namespace content | 305 } // namespace content |
| 306 | 306 |
| 307 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 307 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |