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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual base::Thread* file_thread(); | 59 virtual base::Thread* file_thread(); |
60 virtual base::Thread* db_thread(); | 60 virtual base::Thread* db_thread(); |
61 virtual base::Thread* process_launcher_thread(); | 61 virtual base::Thread* process_launcher_thread(); |
62 virtual base::Thread* cache_thread(); | 62 virtual base::Thread* cache_thread(); |
63 virtual WatchDogThread* watchdog_thread(); | 63 virtual WatchDogThread* watchdog_thread(); |
64 #if defined(OS_CHROMEOS) | 64 #if defined(OS_CHROMEOS) |
65 virtual base::Thread* web_socket_proxy_thread(); | 65 virtual base::Thread* web_socket_proxy_thread(); |
66 #endif | 66 #endif |
67 virtual ProfileManager* profile_manager(); | 67 virtual ProfileManager* profile_manager(); |
68 virtual PrefService* local_state(); | 68 virtual PrefService* local_state(); |
| 69 virtual SpdyConfigServiceManager* spdy_config_service_manager(); |
69 virtual DevToolsManager* devtools_manager(); | 70 virtual DevToolsManager* devtools_manager(); |
70 virtual SidebarManager* sidebar_manager(); | 71 virtual SidebarManager* sidebar_manager(); |
71 virtual ui::Clipboard* clipboard(); | 72 virtual ui::Clipboard* clipboard(); |
72 virtual net::URLRequestContextGetter* system_request_context(); | 73 virtual net::URLRequestContextGetter* system_request_context(); |
73 #if defined(OS_CHROMEOS) | 74 #if defined(OS_CHROMEOS) |
74 virtual chromeos::ProxyConfigServiceImpl* | 75 virtual chromeos::ProxyConfigServiceImpl* |
75 chromeos_proxy_config_service_impl(); | 76 chromeos_proxy_config_service_impl(); |
76 #endif // defined(OS_CHROMEOS) | 77 #endif // defined(OS_CHROMEOS) |
77 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); | 78 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); |
78 virtual NotificationUIManager* notification_ui_manager(); | 79 virtual NotificationUIManager* notification_ui_manager(); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 void CreateCacheThread(); | 143 void CreateCacheThread(); |
143 void CreateGpuThread(); | 144 void CreateGpuThread(); |
144 void CreateWatchdogThread(); | 145 void CreateWatchdogThread(); |
145 #if defined(OS_CHROMEOS) | 146 #if defined(OS_CHROMEOS) |
146 void CreateWebSocketProxyThread(); | 147 void CreateWebSocketProxyThread(); |
147 #endif | 148 #endif |
148 void CreateTemplateURLService(); | 149 void CreateTemplateURLService(); |
149 void CreateProfileManager(); | 150 void CreateProfileManager(); |
150 void CreateWebDataService(); | 151 void CreateWebDataService(); |
151 void CreateLocalState(); | 152 void CreateLocalState(); |
| 153 void CreateSpdyConfigServiceManager(); |
152 void CreateViewedPageTracker(); | 154 void CreateViewedPageTracker(); |
153 void CreateIconManager(); | 155 void CreateIconManager(); |
154 void CreateDevToolsManager(); | 156 void CreateDevToolsManager(); |
155 void CreateSidebarManager(); | 157 void CreateSidebarManager(); |
156 void CreateGoogleURLTracker(); | 158 void CreateGoogleURLTracker(); |
157 void CreateIntranetRedirectDetector(); | 159 void CreateIntranetRedirectDetector(); |
158 void CreateNotificationUIManager(); | 160 void CreateNotificationUIManager(); |
159 void CreateStatusTrayManager(); | 161 void CreateStatusTrayManager(); |
160 void CreateTabCloseableStateWatcher(); | 162 void CreateTabCloseableStateWatcher(); |
161 void CreatePrintPreviewTabController(); | 163 void CreatePrintPreviewTabController(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 bool created_web_socket_proxy_thread_; | 208 bool created_web_socket_proxy_thread_; |
207 scoped_ptr<base::Thread> web_socket_proxy_thread_; | 209 scoped_ptr<base::Thread> web_socket_proxy_thread_; |
208 #endif | 210 #endif |
209 | 211 |
210 bool created_profile_manager_; | 212 bool created_profile_manager_; |
211 scoped_ptr<ProfileManager> profile_manager_; | 213 scoped_ptr<ProfileManager> profile_manager_; |
212 | 214 |
213 bool created_local_state_; | 215 bool created_local_state_; |
214 scoped_ptr<PrefService> local_state_; | 216 scoped_ptr<PrefService> local_state_; |
215 | 217 |
| 218 bool created_spdy_config_service_manager_; |
| 219 scoped_refptr<SpdyConfigServiceManager> spdy_config_service_manager_; |
| 220 |
216 bool created_icon_manager_; | 221 bool created_icon_manager_; |
217 scoped_ptr<IconManager> icon_manager_; | 222 scoped_ptr<IconManager> icon_manager_; |
218 | 223 |
219 scoped_refptr<ExtensionEventRouterForwarder> | 224 scoped_refptr<ExtensionEventRouterForwarder> |
220 extension_event_router_forwarder_; | 225 extension_event_router_forwarder_; |
221 | 226 |
222 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 227 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
223 | 228 |
224 scoped_refptr<DevToolsProtocolHandler> devtools_legacy_handler_; | 229 scoped_refptr<DevToolsProtocolHandler> devtools_legacy_handler_; |
225 | 230 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; | 328 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; |
324 | 329 |
325 #if !defined(OS_CHROMEOS) | 330 #if !defined(OS_CHROMEOS) |
326 scoped_ptr<ComponentUpdateService> component_updater_; | 331 scoped_ptr<ComponentUpdateService> component_updater_; |
327 #endif | 332 #endif |
328 | 333 |
329 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 334 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
330 }; | 335 }; |
331 | 336 |
332 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 337 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |