| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 virtual base::Thread* process_launcher_thread(); | 54 virtual base::Thread* process_launcher_thread(); |
| 55 virtual base::Thread* cache_thread(); | 55 virtual base::Thread* cache_thread(); |
| 56 #if defined(USE_X11) | 56 #if defined(USE_X11) |
| 57 virtual base::Thread* background_x11_thread(); | 57 virtual base::Thread* background_x11_thread(); |
| 58 #endif | 58 #endif |
| 59 virtual ProfileManager* profile_manager(); | 59 virtual ProfileManager* profile_manager(); |
| 60 virtual PrefService* local_state(); | 60 virtual PrefService* local_state(); |
| 61 virtual DevToolsManager* devtools_manager(); | 61 virtual DevToolsManager* devtools_manager(); |
| 62 virtual SidebarManager* sidebar_manager(); | 62 virtual SidebarManager* sidebar_manager(); |
| 63 virtual ui::Clipboard* clipboard(); | 63 virtual ui::Clipboard* clipboard(); |
| 64 virtual scoped_refptr<URLRequestContextGetter> system_request_context(); |
| 65 #if defined(OS_CHROMEOS) |
| 66 virtual chromeos::ProxyConfigServiceImpl* |
| 67 chromeos_proxy_config_service_impl(); |
| 68 #endif // defined(OS_CHROMEOS) |
| 64 virtual NotificationUIManager* notification_ui_manager(); | 69 virtual NotificationUIManager* notification_ui_manager(); |
| 65 virtual policy::ConfigurationPolicyProviderKeeper* | 70 virtual policy::ConfigurationPolicyProviderKeeper* |
| 66 configuration_policy_provider_keeper(); | 71 configuration_policy_provider_keeper(); |
| 67 virtual IconManager* icon_manager(); | 72 virtual IconManager* icon_manager(); |
| 68 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 73 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
| 69 virtual AutomationProviderList* InitAutomationProviderList(); | 74 virtual AutomationProviderList* InitAutomationProviderList(); |
| 70 virtual void InitDevToolsHttpProtocolHandler( | 75 virtual void InitDevToolsHttpProtocolHandler( |
| 71 const std::string& ip, | 76 const std::string& ip, |
| 72 int port, | 77 int port, |
| 73 const std::string& frontend_url); | 78 const std::string& frontend_url); |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 261 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| 257 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; | 262 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; |
| 258 | 263 |
| 259 // Gets called by autoupdate timer to see if browser needs restart and can be | 264 // Gets called by autoupdate timer to see if browser needs restart and can be |
| 260 // restarted, and if that's the case, restarts the browser. | 265 // restarted, and if that's the case, restarts the browser. |
| 261 void OnAutoupdateTimer(); | 266 void OnAutoupdateTimer(); |
| 262 bool CanAutorestartForUpdate() const; | 267 bool CanAutorestartForUpdate() const; |
| 263 void RestartPersistentInstance(); | 268 void RestartPersistentInstance(); |
| 264 #endif // defined(OS_WIN) || defined(OS_LINUX) | 269 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 265 | 270 |
| 271 #if defined(OS_CHROMEOS) |
| 272 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 273 chromeos_proxy_config_service_impl_; |
| 274 #endif |
| 275 |
| 266 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 276 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 267 }; | 277 }; |
| 268 | 278 |
| 269 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 279 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |