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