| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 namespace net { | 38 namespace net { |
| 39 class NetworkChangeNotifier; | 39 class NetworkChangeNotifier; |
| 40 } // namespace net | 40 } // namespace net |
| 41 | 41 |
| 42 namespace content { | 42 namespace content { |
| 43 class BrowserMainParts; | 43 class BrowserMainParts; |
| 44 class BrowserOnlineStateObserver; | 44 class BrowserOnlineStateObserver; |
| 45 class BrowserShutdownImpl; | 45 class BrowserShutdownImpl; |
| 46 class BrowserThreadImpl; | 46 class BrowserThreadImpl; |
| 47 class MediaStreamManager; | 47 class MediaStreamManager; |
| 48 class MojoShellContext; |
| 48 class ResourceDispatcherHostImpl; | 49 class ResourceDispatcherHostImpl; |
| 49 class SpeechRecognitionManagerImpl; | 50 class SpeechRecognitionManagerImpl; |
| 50 class StartupTaskRunner; | 51 class StartupTaskRunner; |
| 51 class TimeZoneMonitor; | 52 class TimeZoneMonitor; |
| 52 struct MainFunctionParams; | 53 struct MainFunctionParams; |
| 53 | 54 |
| 54 #if defined(OS_ANDROID) | 55 #if defined(OS_ANDROID) |
| 55 class ScreenOrientationDelegate; | 56 class ScreenOrientationDelegate; |
| 56 #elif defined(OS_LINUX) | 57 #elif defined(OS_LINUX) |
| 57 class DeviceMonitorLinux; | 58 class DeviceMonitorLinux; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 // Members initialized in |CreateThreads()| ---------------------------------- | 225 // Members initialized in |CreateThreads()| ---------------------------------- |
| 225 scoped_ptr<BrowserProcessSubThread> db_thread_; | 226 scoped_ptr<BrowserProcessSubThread> db_thread_; |
| 226 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 227 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
| 227 scoped_ptr<BrowserProcessSubThread> file_thread_; | 228 scoped_ptr<BrowserProcessSubThread> file_thread_; |
| 228 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; | 229 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; |
| 229 scoped_ptr<BrowserProcessSubThread> cache_thread_; | 230 scoped_ptr<BrowserProcessSubThread> cache_thread_; |
| 230 scoped_ptr<BrowserProcessSubThread> io_thread_; | 231 scoped_ptr<BrowserProcessSubThread> io_thread_; |
| 231 | 232 |
| 232 // Members initialized in |BrowserThreadsStarted()| -------------------------- | 233 // Members initialized in |BrowserThreadsStarted()| -------------------------- |
| 233 scoped_ptr<base::Thread> indexed_db_thread_; | 234 scoped_ptr<base::Thread> indexed_db_thread_; |
| 235 scoped_ptr<MojoShellContext> mojo_shell_context_; |
| 234 | 236 |
| 235 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. | 237 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. |
| 236 scoped_ptr<media::UserInputMonitor> user_input_monitor_; | 238 scoped_ptr<media::UserInputMonitor> user_input_monitor_; |
| 237 scoped_ptr<media::AudioManager> audio_manager_; | 239 scoped_ptr<media::AudioManager> audio_manager_; |
| 238 | 240 |
| 239 scoped_ptr<media::midi::MidiManager> midi_manager_; | 241 scoped_ptr<media::midi::MidiManager> midi_manager_; |
| 240 | 242 |
| 241 #if defined(USE_UDEV) | 243 #if defined(USE_UDEV) |
| 242 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; | 244 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; |
| 243 #elif defined(OS_MACOSX) && !defined(OS_IOS) | 245 #elif defined(OS_MACOSX) && !defined(OS_IOS) |
| 244 scoped_ptr<DeviceMonitorMac> device_monitor_mac_; | 246 scoped_ptr<DeviceMonitorMac> device_monitor_mac_; |
| 245 #endif | 247 #endif |
| 246 | 248 |
| 247 scoped_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; | 249 scoped_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; |
| 248 scoped_ptr<MediaStreamManager> media_stream_manager_; | 250 scoped_ptr<MediaStreamManager> media_stream_manager_; |
| 249 scoped_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; | 251 scoped_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; |
| 250 scoped_ptr<TimeZoneMonitor> time_zone_monitor_; | 252 scoped_ptr<TimeZoneMonitor> time_zone_monitor_; |
| 251 | 253 |
| 252 // DO NOT add members here. Add them to the right categories above. | 254 // DO NOT add members here. Add them to the right categories above. |
| 253 | 255 |
| 254 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 256 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 255 }; | 257 }; |
| 256 | 258 |
| 257 } // namespace content | 259 } // namespace content |
| 258 | 260 |
| 259 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 261 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |