Chromium Code Reviews| 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 18 matching lines...) Expand all Loading... | |
| 29 | 29 |
| 30 class ChromeNetLog; | 30 class ChromeNetLog; |
| 31 class CommandLine; | 31 class CommandLine; |
| 32 class DevToolsHttpProtocolHandler; | 32 class DevToolsHttpProtocolHandler; |
| 33 class DevToolsProtocolHandler; | 33 class DevToolsProtocolHandler; |
| 34 class FilePath; | 34 class FilePath; |
| 35 class NotificationService; | 35 class NotificationService; |
| 36 class PluginDataRemover; | 36 class PluginDataRemover; |
| 37 class TabCloseableStateWatcher; | 37 class TabCloseableStateWatcher; |
| 38 | 38 |
| 39 namespace policy{ | |
| 40 class BrowserPolicyConnector; | |
| 41 class ProfilePolicyConnector; | |
| 42 class ConfigurationPolicyProvider; | |
| 43 class CombiningCloudPolicyProvider; | |
| 44 }; | |
| 45 | |
| 39 // Real implementation of BrowserProcess that creates and returns the services. | 46 // Real implementation of BrowserProcess that creates and returns the services. |
| 40 class BrowserProcessImpl : public BrowserProcess, | 47 class BrowserProcessImpl : public BrowserProcess, |
| 41 public base::NonThreadSafe, | 48 public base::NonThreadSafe, |
| 42 public NotificationObserver { | 49 public NotificationObserver { |
| 43 public: | 50 public: |
| 44 explicit BrowserProcessImpl(const CommandLine& command_line); | 51 explicit BrowserProcessImpl(const CommandLine& command_line); |
| 45 virtual ~BrowserProcessImpl(); | 52 virtual ~BrowserProcessImpl(); |
| 46 | 53 |
| 47 virtual void EndSession(); | 54 virtual void EndSession(); |
| 48 | 55 |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 68 virtual SidebarManager* sidebar_manager(); | 75 virtual SidebarManager* sidebar_manager(); |
| 69 virtual ui::Clipboard* clipboard(); | 76 virtual ui::Clipboard* clipboard(); |
| 70 virtual net::URLRequestContextGetter* system_request_context(); | 77 virtual net::URLRequestContextGetter* system_request_context(); |
| 71 #if defined(OS_CHROMEOS) | 78 #if defined(OS_CHROMEOS) |
| 72 virtual chromeos::ProxyConfigServiceImpl* | 79 virtual chromeos::ProxyConfigServiceImpl* |
| 73 chromeos_proxy_config_service_impl(); | 80 chromeos_proxy_config_service_impl(); |
| 74 #endif // defined(OS_CHROMEOS) | 81 #endif // defined(OS_CHROMEOS) |
| 75 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); | 82 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); |
| 76 virtual NotificationUIManager* notification_ui_manager(); | 83 virtual NotificationUIManager* notification_ui_manager(); |
| 77 virtual policy::BrowserPolicyConnector* browser_policy_connector(); | 84 virtual policy::BrowserPolicyConnector* browser_policy_connector(); |
| 85 virtual policy::ProfilePolicyConnector* user_policy_connector(); | |
| 86 virtual policy::ConfigurationPolicyProvider* managed_cloud_policy_provider(); | |
| 87 virtual policy::ConfigurationPolicyProvider* | |
| 88 recommended_cloud_policy_provider(); | |
| 78 virtual IconManager* icon_manager(); | 89 virtual IconManager* icon_manager(); |
| 79 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 90 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
| 80 virtual AutomationProviderList* InitAutomationProviderList(); | 91 virtual AutomationProviderList* InitAutomationProviderList(); |
| 81 virtual void InitDevToolsHttpProtocolHandler( | 92 virtual void InitDevToolsHttpProtocolHandler( |
| 82 const std::string& ip, | 93 const std::string& ip, |
| 83 int port, | 94 int port, |
| 84 const std::string& frontend_url); | 95 const std::string& frontend_url); |
| 85 virtual void InitDevToolsLegacyProtocolHandler(int port); | 96 virtual void InitDevToolsLegacyProtocolHandler(int port); |
| 86 virtual unsigned int AddRefModule(); | 97 virtual unsigned int AddRefModule(); |
| 87 virtual unsigned int ReleaseModule(); | 98 virtual unsigned int ReleaseModule(); |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 215 | 226 |
| 216 bool created_devtools_manager_; | 227 bool created_devtools_manager_; |
| 217 scoped_refptr<DevToolsManager> devtools_manager_; | 228 scoped_refptr<DevToolsManager> devtools_manager_; |
| 218 | 229 |
| 219 bool created_sidebar_manager_; | 230 bool created_sidebar_manager_; |
| 220 scoped_refptr<SidebarManager> sidebar_manager_; | 231 scoped_refptr<SidebarManager> sidebar_manager_; |
| 221 | 232 |
| 222 bool created_browser_policy_connector_; | 233 bool created_browser_policy_connector_; |
| 223 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; | 234 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; |
| 224 | 235 |
| 236 bool created_user_policy_connector_; | |
| 237 scoped_ptr<policy::ProfilePolicyConnector> user_policy_connector_; | |
| 238 | |
| 239 bool created_managed_cloud_policy_provider_; | |
| 240 scoped_ptr<policy::CombiningCloudPolicyProvider> | |
|
Mattias Nissler (ping if slow)
2011/05/26 10:20:20
Any reason why we need the specific CombiningCloud
sfeuz
2011/05/31 07:32:31
The way this is accessed from the outside is throu
Mattias Nissler (ping if slow)
2011/05/31 14:14:19
Technically, there is not difference. My point is
| |
| 241 managed_cloud_policy_provider_; | |
| 242 | |
| 243 bool created_recommended_cloud_policy_provider_; | |
| 244 scoped_ptr<policy::CombiningCloudPolicyProvider> | |
| 245 recommended_cloud_policy_provider_; | |
| 246 | |
| 225 scoped_refptr<printing::PrintPreviewTabController> | 247 scoped_refptr<printing::PrintPreviewTabController> |
| 226 print_preview_tab_controller_; | 248 print_preview_tab_controller_; |
| 227 | 249 |
| 228 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 250 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 229 | 251 |
| 230 scoped_ptr<ui::Clipboard> clipboard_; | 252 scoped_ptr<ui::Clipboard> clipboard_; |
| 231 | 253 |
| 232 // Manager for desktop notification UI. | 254 // Manager for desktop notification UI. |
| 233 bool created_notification_ui_manager_; | 255 bool created_notification_ui_manager_; |
| 234 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 256 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 294 | 316 |
| 295 #if defined(OS_CHROMEOS) | 317 #if defined(OS_CHROMEOS) |
| 296 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 318 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 297 chromeos_proxy_config_service_impl_; | 319 chromeos_proxy_config_service_impl_; |
| 298 #endif | 320 #endif |
| 299 | 321 |
| 300 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 322 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 301 }; | 323 }; |
| 302 | 324 |
| 303 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 325 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |