| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 scoped_ptr<ChromeNetLog> net_log_; | 285 scoped_ptr<ChromeNetLog> net_log_; |
| 286 | 286 |
| 287 // Ordered before resource_dispatcher_host_delegate_ due to destruction | 287 // Ordered before resource_dispatcher_host_delegate_ due to destruction |
| 288 // ordering. | 288 // ordering. |
| 289 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; | 289 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; |
| 290 | 290 |
| 291 scoped_ptr<ChromeResourceDispatcherHostDelegate> | 291 scoped_ptr<ChromeResourceDispatcherHostDelegate> |
| 292 resource_dispatcher_host_delegate_; | 292 resource_dispatcher_host_delegate_; |
| 293 | 293 |
| 294 NotificationRegistrar notification_registrar_; | 294 NotificationRegistrar notification_registrar_; |
| 295 scoped_refptr<PluginDataRemover> plugin_data_remover_; | |
| 296 | 295 |
| 297 scoped_refptr<MHTMLGenerationManager> mhtml_generation_manager_; | 296 scoped_refptr<MHTMLGenerationManager> mhtml_generation_manager_; |
| 298 | 297 |
| 299 // Monitors the state of the 'DisablePluginFinder' policy. | 298 // Monitors the state of the 'DisablePluginFinder' policy. |
| 300 BooleanPrefMember plugin_finder_disabled_pref_; | 299 BooleanPrefMember plugin_finder_disabled_pref_; |
| 301 | 300 |
| 302 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 301 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| 303 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; | 302 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; |
| 304 | 303 |
| 305 // Gets called by autoupdate timer to see if browser needs restart and can be | 304 // Gets called by autoupdate timer to see if browser needs restart and can be |
| 306 // restarted, and if that's the case, restarts the browser. | 305 // restarted, and if that's the case, restarts the browser. |
| 307 void OnAutoupdateTimer(); | 306 void OnAutoupdateTimer(); |
| 308 bool CanAutorestartForUpdate() const; | 307 bool CanAutorestartForUpdate() const; |
| 309 void RestartPersistentInstance(); | 308 void RestartPersistentInstance(); |
| 310 #endif // defined(OS_WIN) || defined(OS_LINUX) | 309 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 311 | 310 |
| 312 #if defined(OS_CHROMEOS) | 311 #if defined(OS_CHROMEOS) |
| 313 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 312 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 314 chromeos_proxy_config_service_impl_; | 313 chromeos_proxy_config_service_impl_; |
| 315 #endif | 314 #endif |
| 316 | 315 |
| 317 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 316 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 318 }; | 317 }; |
| 319 | 318 |
| 320 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 319 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |