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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual void EndSession(); | 47 virtual void EndSession(); |
48 | 48 |
49 // BrowserProcess methods | 49 // BrowserProcess methods |
50 virtual ResourceDispatcherHost* resource_dispatcher_host(); | 50 virtual ResourceDispatcherHost* resource_dispatcher_host(); |
51 virtual MetricsService* metrics_service(); | 51 virtual MetricsService* metrics_service(); |
52 virtual IOThread* io_thread(); | 52 virtual IOThread* io_thread(); |
53 virtual base::Thread* file_thread(); | 53 virtual base::Thread* file_thread(); |
54 virtual base::Thread* db_thread(); | 54 virtual base::Thread* db_thread(); |
55 virtual base::Thread* process_launcher_thread(); | 55 virtual base::Thread* process_launcher_thread(); |
56 virtual base::Thread* cache_thread(); | 56 virtual base::Thread* cache_thread(); |
57 virtual base::Thread* gpu_thread(); | |
58 #if defined(USE_X11) | 57 #if defined(USE_X11) |
59 virtual base::Thread* background_x11_thread(); | 58 virtual base::Thread* background_x11_thread(); |
60 #endif | 59 #endif |
61 virtual WatchDogThread* watchdog_thread(); | 60 virtual WatchDogThread* watchdog_thread(); |
62 #if defined(OS_CHROMEOS) | 61 #if defined(OS_CHROMEOS) |
63 virtual base::Thread* web_socket_proxy_thread(); | 62 virtual base::Thread* web_socket_proxy_thread(); |
64 #endif | 63 #endif |
65 virtual ProfileManager* profile_manager(); | 64 virtual ProfileManager* profile_manager(); |
66 virtual PrefService* local_state(); | 65 virtual PrefService* local_state(); |
67 virtual DevToolsManager* devtools_manager(); | 66 virtual DevToolsManager* devtools_manager(); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 178 |
180 bool created_db_thread_; | 179 bool created_db_thread_; |
181 scoped_ptr<base::Thread> db_thread_; | 180 scoped_ptr<base::Thread> db_thread_; |
182 | 181 |
183 bool created_process_launcher_thread_; | 182 bool created_process_launcher_thread_; |
184 scoped_ptr<base::Thread> process_launcher_thread_; | 183 scoped_ptr<base::Thread> process_launcher_thread_; |
185 | 184 |
186 bool created_cache_thread_; | 185 bool created_cache_thread_; |
187 scoped_ptr<base::Thread> cache_thread_; | 186 scoped_ptr<base::Thread> cache_thread_; |
188 | 187 |
189 bool created_gpu_thread_; | |
190 scoped_ptr<base::Thread> gpu_thread_; | |
191 | |
192 bool created_watchdog_thread_; | 188 bool created_watchdog_thread_; |
193 scoped_ptr<WatchDogThread> watchdog_thread_; | 189 scoped_ptr<WatchDogThread> watchdog_thread_; |
194 | 190 |
195 #if defined(OS_CHROMEOS) | 191 #if defined(OS_CHROMEOS) |
196 bool created_web_socket_proxy_thread_; | 192 bool created_web_socket_proxy_thread_; |
197 scoped_ptr<base::Thread> web_socket_proxy_thread_; | 193 scoped_ptr<base::Thread> web_socket_proxy_thread_; |
198 #endif | 194 #endif |
199 | 195 |
200 bool created_profile_manager_; | 196 bool created_profile_manager_; |
201 scoped_ptr<ProfileManager> profile_manager_; | 197 scoped_ptr<ProfileManager> profile_manager_; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 290 |
295 #if defined(OS_CHROMEOS) | 291 #if defined(OS_CHROMEOS) |
296 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 292 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
297 chromeos_proxy_config_service_impl_; | 293 chromeos_proxy_config_service_impl_; |
298 #endif | 294 #endif |
299 | 295 |
300 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 296 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
301 }; | 297 }; |
302 | 298 |
303 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 299 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |