| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // When each service is created, we set a flag indicating this. At this point, | 5 // When each service is created, we set a flag indicating this. At this point, |
| 6 // the service initialization could fail or succeed. This allows us to remember | 6 // the service initialization could fail or succeed. This allows us to remember |
| 7 // if we tried to create a service, and not try creating it over and over if | 7 // if we tried to create a service, and not try creating it over and over if |
| 8 // the creation failed. | 8 // the creation failed. |
| 9 | 9 |
| 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual void EndSession(); | 48 virtual void EndSession(); |
| 49 | 49 |
| 50 // BrowserProcess methods | 50 // BrowserProcess methods |
| 51 virtual ResourceDispatcherHost* resource_dispatcher_host(); | 51 virtual ResourceDispatcherHost* resource_dispatcher_host(); |
| 52 virtual MetricsService* metrics_service(); | 52 virtual MetricsService* metrics_service(); |
| 53 virtual IOThread* io_thread(); | 53 virtual IOThread* io_thread(); |
| 54 virtual base::Thread* file_thread(); | 54 virtual base::Thread* file_thread(); |
| 55 virtual base::Thread* db_thread(); | 55 virtual base::Thread* db_thread(); |
| 56 virtual base::Thread* process_launcher_thread(); | 56 virtual base::Thread* process_launcher_thread(); |
| 57 virtual base::Thread* cache_thread(); | 57 virtual base::Thread* cache_thread(); |
| 58 virtual base::Thread* gpu_thread(); | |
| 59 #if defined(USE_X11) | 58 #if defined(USE_X11) |
| 60 virtual base::Thread* background_x11_thread(); | 59 virtual base::Thread* background_x11_thread(); |
| 61 #endif | 60 #endif |
| 62 virtual WatchDogThread* watchdog_thread(); | 61 virtual WatchDogThread* watchdog_thread(); |
| 63 #if defined(OS_CHROMEOS) | 62 #if defined(OS_CHROMEOS) |
| 64 virtual base::Thread* web_socket_proxy_thread(); | 63 virtual base::Thread* web_socket_proxy_thread(); |
| 65 #endif | 64 #endif |
| 66 virtual ProfileManager* profile_manager(); | 65 virtual ProfileManager* profile_manager(); |
| 67 virtual PrefService* local_state(); | 66 virtual PrefService* local_state(); |
| 68 virtual DevToolsManager* devtools_manager(); | 67 virtual DevToolsManager* devtools_manager(); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 181 |
| 183 bool created_db_thread_; | 182 bool created_db_thread_; |
| 184 scoped_ptr<base::Thread> db_thread_; | 183 scoped_ptr<base::Thread> db_thread_; |
| 185 | 184 |
| 186 bool created_process_launcher_thread_; | 185 bool created_process_launcher_thread_; |
| 187 scoped_ptr<base::Thread> process_launcher_thread_; | 186 scoped_ptr<base::Thread> process_launcher_thread_; |
| 188 | 187 |
| 189 bool created_cache_thread_; | 188 bool created_cache_thread_; |
| 190 scoped_ptr<base::Thread> cache_thread_; | 189 scoped_ptr<base::Thread> cache_thread_; |
| 191 | 190 |
| 192 bool created_gpu_thread_; | |
| 193 scoped_ptr<base::Thread> gpu_thread_; | |
| 194 | |
| 195 bool created_watchdog_thread_; | 191 bool created_watchdog_thread_; |
| 196 scoped_ptr<WatchDogThread> watchdog_thread_; | 192 scoped_ptr<WatchDogThread> watchdog_thread_; |
| 197 | 193 |
| 198 #if defined(OS_CHROMEOS) | 194 #if defined(OS_CHROMEOS) |
| 199 bool created_web_socket_proxy_thread_; | 195 bool created_web_socket_proxy_thread_; |
| 200 scoped_ptr<base::Thread> web_socket_proxy_thread_; | 196 scoped_ptr<base::Thread> web_socket_proxy_thread_; |
| 201 #endif | 197 #endif |
| 202 | 198 |
| 203 bool created_profile_manager_; | 199 bool created_profile_manager_; |
| 204 scoped_ptr<ProfileManager> profile_manager_; | 200 scoped_ptr<ProfileManager> profile_manager_; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 300 |
| 305 #if defined(OS_CHROMEOS) | 301 #if defined(OS_CHROMEOS) |
| 306 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 302 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 307 chromeos_proxy_config_service_impl_; | 303 chromeos_proxy_config_service_impl_; |
| 308 #endif | 304 #endif |
| 309 | 305 |
| 310 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 306 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 311 }; | 307 }; |
| 312 | 308 |
| 313 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 309 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |