| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 class ClientNativePixmapFactory; | 65 class ClientNativePixmapFactory; |
| 66 } // namespace ui | 66 } // namespace ui |
| 67 #endif | 67 #endif |
| 68 | 68 |
| 69 namespace content { | 69 namespace content { |
| 70 class BrowserMainParts; | 70 class BrowserMainParts; |
| 71 class BrowserOnlineStateObserver; | 71 class BrowserOnlineStateObserver; |
| 72 class BrowserThreadImpl; | 72 class BrowserThreadImpl; |
| 73 class LoaderDelegateImpl; | 73 class LoaderDelegateImpl; |
| 74 class MediaStreamManager; | 74 class MediaStreamManager; |
| 75 class MojoShellContext; | |
| 76 class ResourceDispatcherHostImpl; | 75 class ResourceDispatcherHostImpl; |
| 76 class ShellContext; |
| 77 class SpeechRecognitionManagerImpl; | 77 class SpeechRecognitionManagerImpl; |
| 78 class StartupTaskRunner; | 78 class StartupTaskRunner; |
| 79 class TimeZoneMonitor; | 79 class TimeZoneMonitor; |
| 80 struct MainFunctionParams; | 80 struct MainFunctionParams; |
| 81 | 81 |
| 82 #if defined(OS_ANDROID) | 82 #if defined(OS_ANDROID) |
| 83 class ScreenOrientationDelegate; | 83 class ScreenOrientationDelegate; |
| 84 #elif defined(OS_WIN) | 84 #elif defined(OS_WIN) |
| 85 class ScreenOrientationDelegate; | 85 class ScreenOrientationDelegate; |
| 86 #endif | 86 #endif |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // Members initialized in |CreateThreads()| ---------------------------------- | 253 // Members initialized in |CreateThreads()| ---------------------------------- |
| 254 std::unique_ptr<BrowserProcessSubThread> db_thread_; | 254 std::unique_ptr<BrowserProcessSubThread> db_thread_; |
| 255 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 255 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
| 256 std::unique_ptr<BrowserProcessSubThread> file_thread_; | 256 std::unique_ptr<BrowserProcessSubThread> file_thread_; |
| 257 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; | 257 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; |
| 258 std::unique_ptr<BrowserProcessSubThread> cache_thread_; | 258 std::unique_ptr<BrowserProcessSubThread> cache_thread_; |
| 259 std::unique_ptr<BrowserProcessSubThread> io_thread_; | 259 std::unique_ptr<BrowserProcessSubThread> io_thread_; |
| 260 | 260 |
| 261 // Members initialized in |BrowserThreadsStarted()| -------------------------- | 261 // Members initialized in |BrowserThreadsStarted()| -------------------------- |
| 262 std::unique_ptr<base::Thread> indexed_db_thread_; | 262 std::unique_ptr<base::Thread> indexed_db_thread_; |
| 263 std::unique_ptr<MojoShellContext> mojo_shell_context_; | 263 std::unique_ptr<ShellContext> shell_context_; |
| 264 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; | 264 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; |
| 265 | 265 |
| 266 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. | 266 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. |
| 267 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; | 267 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; |
| 268 // AudioThread needs to outlive |audio_manager_|. | 268 // AudioThread needs to outlive |audio_manager_|. |
| 269 std::unique_ptr<base::Thread> audio_thread_; | 269 std::unique_ptr<base::Thread> audio_thread_; |
| 270 media::ScopedAudioManagerPtr audio_manager_; | 270 media::ScopedAudioManagerPtr audio_manager_; |
| 271 | 271 |
| 272 std::unique_ptr<media::midi::MidiManager> midi_manager_; | 272 std::unique_ptr<media::midi::MidiManager> midi_manager_; |
| 273 | 273 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 289 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; | 289 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; |
| 290 | 290 |
| 291 // DO NOT add members here. Add them to the right categories above. | 291 // DO NOT add members here. Add them to the right categories above. |
| 292 | 292 |
| 293 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 293 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 294 }; | 294 }; |
| 295 | 295 |
| 296 } // namespace content | 296 } // namespace content |
| 297 | 297 |
| 298 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 298 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |