| 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/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/browser/browser_process_sub_thread.h" | 10 #include "content/browser/browser_process_sub_thread.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 namespace content { | 30 namespace content { |
| 31 class AudioMirroringManager; | 31 class AudioMirroringManager; |
| 32 class BrowserMainParts; | 32 class BrowserMainParts; |
| 33 class BrowserOnlineStateObserver; | 33 class BrowserOnlineStateObserver; |
| 34 class BrowserShutdownImpl; | 34 class BrowserShutdownImpl; |
| 35 class BrowserThreadImpl; | 35 class BrowserThreadImpl; |
| 36 class MediaStreamManager; | 36 class MediaStreamManager; |
| 37 class ResourceDispatcherHostImpl; | 37 class ResourceDispatcherHostImpl; |
| 38 class SpeechRecognitionManagerImpl; | 38 class SpeechRecognitionManagerImpl; |
| 39 class SystemMessageWindowWin; | 39 class SystemMessageWindowWin; |
| 40 class WebKitThread; | |
| 41 struct MainFunctionParams; | 40 struct MainFunctionParams; |
| 42 | 41 |
| 43 #if defined(OS_LINUX) | 42 #if defined(OS_LINUX) |
| 44 class DeviceMonitorLinux; | 43 class DeviceMonitorLinux; |
| 45 #elif defined(OS_MACOSX) | 44 #elif defined(OS_MACOSX) |
| 46 class DeviceMonitorMac; | 45 class DeviceMonitorMac; |
| 47 #endif | 46 #endif |
| 48 | 47 |
| 49 // Implements the main browser loop stages called from BrowserMainRunner. | 48 // Implements the main browser loop stages called from BrowserMainRunner. |
| 50 // See comments in browser_main_parts.h for additional info. | 49 // See comments in browser_main_parts.h for additional info. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // Members initialized in |InitializeMainThread()| --------------------------- | 128 // Members initialized in |InitializeMainThread()| --------------------------- |
| 130 // This must get destroyed before other threads that are created in parts_. | 129 // This must get destroyed before other threads that are created in parts_. |
| 131 scoped_ptr<BrowserThreadImpl> main_thread_; | 130 scoped_ptr<BrowserThreadImpl> main_thread_; |
| 132 | 131 |
| 133 // Members initialized in |BrowserThreadsStarted()| -------------------------- | 132 // Members initialized in |BrowserThreadsStarted()| -------------------------- |
| 134 scoped_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; | 133 scoped_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; |
| 135 scoped_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; | 134 scoped_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; |
| 136 | 135 |
| 137 // Members initialized in |RunMainMessageLoopParts()| ------------------------ | 136 // Members initialized in |RunMainMessageLoopParts()| ------------------------ |
| 138 scoped_ptr<BrowserProcessSubThread> db_thread_; | 137 scoped_ptr<BrowserProcessSubThread> db_thread_; |
| 139 #if !defined(OS_IOS) | |
| 140 scoped_ptr<WebKitThread> webkit_thread_; | |
| 141 #endif | |
| 142 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 138 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
| 143 scoped_ptr<BrowserProcessSubThread> file_thread_; | 139 scoped_ptr<BrowserProcessSubThread> file_thread_; |
| 144 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; | 140 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; |
| 145 scoped_ptr<BrowserProcessSubThread> cache_thread_; | 141 scoped_ptr<BrowserProcessSubThread> cache_thread_; |
| 146 scoped_ptr<BrowserProcessSubThread> io_thread_; | 142 scoped_ptr<BrowserProcessSubThread> io_thread_; |
| 147 scoped_ptr<base::Thread> indexed_db_thread_; | 143 scoped_ptr<base::Thread> indexed_db_thread_; |
| 148 scoped_ptr<MemoryObserver> memory_observer_; | 144 scoped_ptr<MemoryObserver> memory_observer_; |
| 149 | 145 |
| 150 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 146 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 151 }; | 147 }; |
| 152 | 148 |
| 153 } // namespace content | 149 } // namespace content |
| 154 | 150 |
| 155 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 151 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |