| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // Monitors the state of the 'DisablePluginFinder' policy. | 297 // Monitors the state of the 'DisablePluginFinder' policy. |
| 298 BooleanPrefMember plugin_finder_disabled_pref_; | 298 BooleanPrefMember plugin_finder_disabled_pref_; |
| 299 | 299 |
| 300 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 300 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| 301 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; | 301 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; |
| 302 | 302 |
| 303 // Gets called by autoupdate timer to see if browser needs restart and can be | 303 // Gets called by autoupdate timer to see if browser needs restart and can be |
| 304 // restarted, and if that's the case, restarts the browser. | 304 // restarted, and if that's the case, restarts the browser. |
| 305 void OnAutoupdateTimer(); | 305 void OnAutoupdateTimer(); |
| 306 bool CanAutorestartForUpdate() const; | 306 bool CanAutorestartForUpdate() const; |
| 307 void RestartPersistentInstance(); | 307 void RestartBackgroundInstance(); |
| 308 #endif // defined(OS_WIN) || defined(OS_LINUX) | 308 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 309 | 309 |
| 310 #if defined(OS_CHROMEOS) | 310 #if defined(OS_CHROMEOS) |
| 311 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 311 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 312 chromeos_proxy_config_service_impl_; | 312 chromeos_proxy_config_service_impl_; |
| 313 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_; | 313 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_; |
| 314 #endif | 314 #endif |
| 315 | 315 |
| 316 // Per-process listener for online state changes. | 316 // Per-process listener for online state changes. |
| 317 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 317 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
| 318 | 318 |
| 319 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; | 319 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; |
| 320 | 320 |
| 321 #if !defined(OS_CHROMEOS) | 321 #if !defined(OS_CHROMEOS) |
| 322 scoped_ptr<ComponentUpdateService> component_updater_; | 322 scoped_ptr<ComponentUpdateService> component_updater_; |
| 323 | 323 |
| 324 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 324 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
| 325 #endif | 325 #endif |
| 326 | 326 |
| 327 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 327 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 328 }; | 328 }; |
| 329 | 329 |
| 330 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 330 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |