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 // 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
187 bool created_local_state_; | 187 bool created_local_state_; |
188 scoped_ptr<PrefService> local_state_; | 188 scoped_ptr<PrefService> local_state_; |
189 | 189 |
190 bool created_icon_manager_; | 190 bool created_icon_manager_; |
191 scoped_ptr<IconManager> icon_manager_; | 191 scoped_ptr<IconManager> icon_manager_; |
192 | 192 |
193 scoped_ptr<GLStringManager> gl_string_manager_; | 193 scoped_ptr<GLStringManager> gl_string_manager_; |
194 | 194 |
195 scoped_ptr<GpuModeManager> gpu_mode_manager_; | 195 scoped_ptr<GpuModeManager> gpu_mode_manager_; |
196 | 196 |
197 scoped_ptr<extensions::ExtensionsBrowserClient> extensions_browser_client_; | 197 scoped_ptr<extensions::ExtensionsBrowserClient> extensions_browser_client_; |
Ryan Sleevi
2014/07/16 20:23:43
Why doesn't this have to be #ifdef'd? It's in the
Lei Zhang
2014/07/18 01:34:24
Too many pieces depend on the ExtensionsBrowserCli
| |
198 #if defined(ENABLE_EXTENSIONS) | |
198 scoped_refptr<extensions::EventRouterForwarder> | 199 scoped_refptr<extensions::EventRouterForwarder> |
199 extension_event_router_forwarder_; | 200 extension_event_router_forwarder_; |
201 #endif | |
200 | 202 |
201 #if !defined(OS_ANDROID) | 203 #if !defined(OS_ANDROID) |
202 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 204 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
203 #endif | 205 #endif |
204 | 206 |
205 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 207 #if defined(ENABLE_EXTENSIONS) |
206 scoped_ptr<MediaFileSystemRegistry> media_file_system_registry_; | 208 scoped_ptr<MediaFileSystemRegistry> media_file_system_registry_; |
207 #endif | 209 #endif |
208 | 210 |
211 #if defined(ENABLE_FULL_PRINTING) | |
209 scoped_refptr<printing::PrintPreviewDialogController> | 212 scoped_refptr<printing::PrintPreviewDialogController> |
210 print_preview_dialog_controller_; | 213 print_preview_dialog_controller_; |
211 | 214 |
212 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 215 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
216 #endif | |
Ryan Sleevi
2014/07/16 20:23:43
I'm assuming the order of shutdown is particularly
Lei Zhang
2014/07/18 01:34:24
The printing bits are separate from the extensions
| |
213 | 217 |
214 // Manager for desktop notification UI. | 218 // Manager for desktop notification UI. |
215 bool created_notification_ui_manager_; | 219 bool created_notification_ui_manager_; |
216 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 220 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
217 | 221 |
218 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; | 222 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; |
219 | 223 |
220 scoped_ptr<StatusTray> status_tray_; | 224 scoped_ptr<StatusTray> status_tray_; |
221 | 225 |
222 scoped_ptr<BackgroundModeManager> background_mode_manager_; | 226 scoped_ptr<BackgroundModeManager> background_mode_manager_; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
292 #endif | 296 #endif |
293 | 297 |
294 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; | 298 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; |
295 | 299 |
296 scoped_ptr<gcm::GCMDriver> gcm_driver_; | 300 scoped_ptr<gcm::GCMDriver> gcm_driver_; |
297 | 301 |
298 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 302 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
299 }; | 303 }; |
300 | 304 |
301 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 305 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |