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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 virtual base::Thread* cache_thread(); | 56 virtual base::Thread* cache_thread(); |
57 #if defined(USE_X11) | 57 #if defined(USE_X11) |
58 virtual base::Thread* background_x11_thread(); | 58 virtual base::Thread* background_x11_thread(); |
59 #endif | 59 #endif |
60 virtual WatchDogThread* watchdog_thread(); | 60 virtual WatchDogThread* watchdog_thread(); |
61 virtual ProfileManager* profile_manager(); | 61 virtual ProfileManager* profile_manager(); |
62 virtual PrefService* local_state(); | 62 virtual PrefService* local_state(); |
63 virtual DevToolsManager* devtools_manager(); | 63 virtual DevToolsManager* devtools_manager(); |
64 virtual SidebarManager* sidebar_manager(); | 64 virtual SidebarManager* sidebar_manager(); |
65 virtual ui::Clipboard* clipboard(); | 65 virtual ui::Clipboard* clipboard(); |
| 66 virtual URLRequestContextGetter* system_request_context(); |
| 67 #if defined(OS_CHROMEOS) |
| 68 virtual chromeos::ProxyConfigServiceImpl* |
| 69 chromeos_proxy_config_service_impl(); |
| 70 #endif // defined(OS_CHROMEOS) |
66 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); | 71 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); |
67 virtual NotificationUIManager* notification_ui_manager(); | 72 virtual NotificationUIManager* notification_ui_manager(); |
68 virtual policy::BrowserPolicyConnector* browser_policy_connector(); | 73 virtual policy::BrowserPolicyConnector* browser_policy_connector(); |
69 virtual IconManager* icon_manager(); | 74 virtual IconManager* icon_manager(); |
70 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 75 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
71 virtual AutomationProviderList* InitAutomationProviderList(); | 76 virtual AutomationProviderList* InitAutomationProviderList(); |
72 virtual void InitDevToolsHttpProtocolHandler( | 77 virtual void InitDevToolsHttpProtocolHandler( |
73 const std::string& ip, | 78 const std::string& ip, |
74 int port, | 79 int port, |
75 const std::string& frontend_url); | 80 const std::string& frontend_url); |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 273 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
269 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; | 274 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; |
270 | 275 |
271 // Gets called by autoupdate timer to see if browser needs restart and can be | 276 // Gets called by autoupdate timer to see if browser needs restart and can be |
272 // restarted, and if that's the case, restarts the browser. | 277 // restarted, and if that's the case, restarts the browser. |
273 void OnAutoupdateTimer(); | 278 void OnAutoupdateTimer(); |
274 bool CanAutorestartForUpdate() const; | 279 bool CanAutorestartForUpdate() const; |
275 void RestartPersistentInstance(); | 280 void RestartPersistentInstance(); |
276 #endif // defined(OS_WIN) || defined(OS_LINUX) | 281 #endif // defined(OS_WIN) || defined(OS_LINUX) |
277 | 282 |
| 283 #if defined(OS_CHROMEOS) |
| 284 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 285 chromeos_proxy_config_service_impl_; |
| 286 #endif |
| 287 |
278 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 288 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
279 }; | 289 }; |
280 | 290 |
281 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 291 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |