| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 #if defined(OS_CHROMEOS) | 61 #if defined(OS_CHROMEOS) |
| 62 virtual base::Thread* web_socket_proxy_thread() OVERRIDE; | 62 virtual base::Thread* web_socket_proxy_thread() OVERRIDE; |
| 63 #endif | 63 #endif |
| 64 virtual ProfileManager* profile_manager() OVERRIDE; | 64 virtual ProfileManager* profile_manager() OVERRIDE; |
| 65 virtual PrefService* local_state() OVERRIDE; | 65 virtual PrefService* local_state() OVERRIDE; |
| 66 virtual DevToolsManager* devtools_manager() OVERRIDE; | 66 virtual DevToolsManager* devtools_manager() OVERRIDE; |
| 67 virtual SidebarManager* sidebar_manager() OVERRIDE; | 67 virtual SidebarManager* sidebar_manager() OVERRIDE; |
| 68 virtual ui::Clipboard* clipboard() OVERRIDE; | 68 virtual ui::Clipboard* clipboard() OVERRIDE; |
| 69 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 69 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
| 70 #if defined(OS_CHROMEOS) | 70 #if defined(OS_CHROMEOS) |
| 71 virtual chromeos::ProxyConfigServiceImpl* | |
| 72 chromeos_proxy_config_service_impl() OVERRIDE; | |
| 73 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE; | 71 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE; |
| 74 #endif // defined(OS_CHROMEOS) | 72 #endif // defined(OS_CHROMEOS) |
| 75 virtual ExtensionEventRouterForwarder* | 73 virtual ExtensionEventRouterForwarder* |
| 76 extension_event_router_forwarder() OVERRIDE; | 74 extension_event_router_forwarder() OVERRIDE; |
| 77 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 75 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
| 78 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 76 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
| 79 virtual IconManager* icon_manager() OVERRIDE; | 77 virtual IconManager* icon_manager() OVERRIDE; |
| 80 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; | 78 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; |
| 81 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; | 79 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; |
| 82 virtual void InitDevToolsHttpProtocolHandler( | 80 virtual void InitDevToolsHttpProtocolHandler( |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; | 300 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; |
| 303 | 301 |
| 304 // Gets called by autoupdate timer to see if browser needs restart and can be | 302 // Gets called by autoupdate timer to see if browser needs restart and can be |
| 305 // restarted, and if that's the case, restarts the browser. | 303 // restarted, and if that's the case, restarts the browser. |
| 306 void OnAutoupdateTimer(); | 304 void OnAutoupdateTimer(); |
| 307 bool CanAutorestartForUpdate() const; | 305 bool CanAutorestartForUpdate() const; |
| 308 void RestartBackgroundInstance(); | 306 void RestartBackgroundInstance(); |
| 309 #endif // defined(OS_WIN) || defined(OS_LINUX) | 307 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 310 | 308 |
| 311 #if defined(OS_CHROMEOS) | 309 #if defined(OS_CHROMEOS) |
| 312 scoped_refptr<chromeos::ProxyConfigServiceImpl> | |
| 313 chromeos_proxy_config_service_impl_; | |
| 314 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_; | 310 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_; |
| 315 #endif | 311 #endif |
| 316 | 312 |
| 317 // Per-process listener for online state changes. | 313 // Per-process listener for online state changes. |
| 318 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 314 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
| 319 | 315 |
| 320 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; | 316 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; |
| 321 | 317 |
| 322 #if !defined(OS_CHROMEOS) | 318 #if !defined(OS_CHROMEOS) |
| 323 scoped_ptr<ComponentUpdateService> component_updater_; | 319 scoped_ptr<ComponentUpdateService> component_updater_; |
| 324 | 320 |
| 325 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 321 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
| 326 #endif | 322 #endif |
| 327 | 323 |
| 328 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 324 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 329 }; | 325 }; |
| 330 | 326 |
| 331 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 327 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |