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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 void OnAutoupdateTimer(); | 269 void OnAutoupdateTimer(); |
270 bool CanAutorestartForUpdate() const; | 270 bool CanAutorestartForUpdate() const; |
271 void RestartBackgroundInstance(); | 271 void RestartBackgroundInstance(); |
272 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS) | 272 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS) |
273 | 273 |
274 // component updater is normally not used under ChromeOS due | 274 // component updater is normally not used under ChromeOS due |
275 // to concerns over integrity of data shared between profiles, | 275 // to concerns over integrity of data shared between profiles, |
276 // but some users of component updater only install per-user. | 276 // but some users of component updater only install per-user. |
277 scoped_ptr<component_updater::ComponentUpdateService> component_updater_; | 277 scoped_ptr<component_updater::ComponentUpdateService> component_updater_; |
278 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 278 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
279 | |
280 #if !defined(DISABLE_NACL) | |
281 scoped_ptr<component_updater::PnaclComponentInstaller> | 279 scoped_ptr<component_updater::PnaclComponentInstaller> |
282 pnacl_component_installer_; | 280 pnacl_component_installer_; |
283 #endif | |
284 | 281 |
285 #if defined(ENABLE_PLUGIN_INSTALLATION) | 282 #if defined(ENABLE_PLUGIN_INSTALLATION) |
286 scoped_refptr<PluginsResourceService> plugins_resource_service_; | 283 scoped_refptr<PluginsResourceService> plugins_resource_service_; |
287 #endif | 284 #endif |
288 | 285 |
289 scoped_ptr<BrowserProcessPlatformPart> platform_part_; | 286 scoped_ptr<BrowserProcessPlatformPart> platform_part_; |
290 | 287 |
291 // TODO(eroman): Remove this when done debugging 113031. This tracks | 288 // TODO(eroman): Remove this when done debugging 113031. This tracks |
292 // the callstack which released the final module reference count. | 289 // the callstack which released the final module reference count. |
293 base::debug::StackTrace release_last_reference_callstack_; | 290 base::debug::StackTrace release_last_reference_callstack_; |
294 | 291 |
295 #if defined(ENABLE_WEBRTC) | 292 #if defined(ENABLE_WEBRTC) |
296 // Lazily initialized. | 293 // Lazily initialized. |
297 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; | 294 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
298 #endif | 295 #endif |
299 | 296 |
300 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; | 297 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; |
301 | 298 |
302 scoped_ptr<gcm::GCMDriver> gcm_driver_; | 299 scoped_ptr<gcm::GCMDriver> gcm_driver_; |
303 | 300 |
304 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 301 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
305 }; | 302 }; |
306 | 303 |
307 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 304 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |