| 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 NetworkChangeNotifier; | 65 class NetworkChangeNotifier; |
| 66 } // namespace net | 66 } // namespace net |
| 67 | 67 |
| 68 #if defined(USE_OZONE) | 68 #if defined(USE_OZONE) |
| 69 namespace ui { | 69 namespace ui { |
| 70 class ClientNativePixmapFactory; | 70 class ClientNativePixmapFactory; |
| 71 } // namespace ui | 71 } // namespace ui |
| 72 #endif | 72 #endif |
| 73 | 73 |
| 74 namespace content { | 74 namespace content { |
| 75 class AudioDeviceThread; |
| 75 class BrowserMainParts; | 76 class BrowserMainParts; |
| 76 class BrowserOnlineStateObserver; | 77 class BrowserOnlineStateObserver; |
| 77 class BrowserThreadImpl; | 78 class BrowserThreadImpl; |
| 78 class LoaderDelegateImpl; | 79 class LoaderDelegateImpl; |
| 79 class MediaStreamManager; | 80 class MediaStreamManager; |
| 80 class ResourceDispatcherHostImpl; | 81 class ResourceDispatcherHostImpl; |
| 81 class SaveFileManager; | 82 class SaveFileManager; |
| 82 class ServiceManagerContext; | 83 class ServiceManagerContext; |
| 83 class SpeechRecognitionManagerImpl; | 84 class SpeechRecognitionManagerImpl; |
| 84 class StartupTaskRunner; | 85 class StartupTaskRunner; |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 std::unique_ptr<BrowserProcessSubThread> io_thread_; | 281 std::unique_ptr<BrowserProcessSubThread> io_thread_; |
| 281 | 282 |
| 282 // Members initialized in |BrowserThreadsStarted()| -------------------------- | 283 // Members initialized in |BrowserThreadsStarted()| -------------------------- |
| 283 std::unique_ptr<base::Thread> indexed_db_thread_; | 284 std::unique_ptr<base::Thread> indexed_db_thread_; |
| 284 std::unique_ptr<ServiceManagerContext> service_manager_context_; | 285 std::unique_ptr<ServiceManagerContext> service_manager_context_; |
| 285 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; | 286 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; |
| 286 | 287 |
| 287 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. | 288 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. |
| 288 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; | 289 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; |
| 289 // AudioThread needs to outlive |audio_manager_|. | 290 // AudioThread needs to outlive |audio_manager_|. |
| 290 std::unique_ptr<base::Thread> audio_thread_; | 291 std::unique_ptr<AudioDeviceThread> audio_thread_; |
| 291 media::ScopedAudioManagerPtr audio_manager_; | 292 media::ScopedAudioManagerPtr audio_manager_; |
| 292 | 293 |
| 293 std::unique_ptr<midi::MidiManager> midi_manager_; | 294 std::unique_ptr<midi::MidiManager> midi_manager_; |
| 294 | 295 |
| 295 #if defined(OS_WIN) | 296 #if defined(OS_WIN) |
| 296 std::unique_ptr<media::SystemMessageWindowWin> system_message_window_; | 297 std::unique_ptr<media::SystemMessageWindowWin> system_message_window_; |
| 297 #elif defined(OS_LINUX) && defined(USE_UDEV) | 298 #elif defined(OS_LINUX) && defined(USE_UDEV) |
| 298 std::unique_ptr<media::DeviceMonitorLinux> device_monitor_linux_; | 299 std::unique_ptr<media::DeviceMonitorLinux> device_monitor_linux_; |
| 299 #elif defined(OS_MACOSX) && !defined(OS_IOS) | 300 #elif defined(OS_MACOSX) && !defined(OS_IOS) |
| 300 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_; | 301 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 311 scoped_refptr<SaveFileManager> save_file_manager_; | 312 scoped_refptr<SaveFileManager> save_file_manager_; |
| 312 | 313 |
| 313 // DO NOT add members here. Add them to the right categories above. | 314 // DO NOT add members here. Add them to the right categories above. |
| 314 | 315 |
| 315 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 316 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 316 }; | 317 }; |
| 317 | 318 |
| 318 } // namespace content | 319 } // namespace content |
| 319 | 320 |
| 320 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 321 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |