| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // BrowserProcess implementation. | 61 // BrowserProcess implementation. |
| 62 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 62 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 63 virtual void EndSession() OVERRIDE; | 63 virtual void EndSession() OVERRIDE; |
| 64 virtual MetricsService* metrics_service() OVERRIDE; | 64 virtual MetricsService* metrics_service() OVERRIDE; |
| 65 virtual IOThread* io_thread() OVERRIDE; | 65 virtual IOThread* io_thread() OVERRIDE; |
| 66 virtual WatchDogThread* watchdog_thread() OVERRIDE; | 66 virtual WatchDogThread* watchdog_thread() OVERRIDE; |
| 67 virtual ProfileManager* profile_manager() OVERRIDE; | 67 virtual ProfileManager* profile_manager() OVERRIDE; |
| 68 virtual PrefService* local_state() OVERRIDE; | 68 virtual PrefService* local_state() OVERRIDE; |
| 69 virtual ui::Clipboard* clipboard() OVERRIDE; | 69 virtual ui::Clipboard* clipboard() OVERRIDE; |
| 70 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 70 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
| 71 virtual VariationsService* variations_service() OVERRIDE; |
| 71 #if defined(OS_CHROMEOS) | 72 #if defined(OS_CHROMEOS) |
| 72 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; | 73 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; |
| 73 #endif // defined(OS_CHROMEOS) | 74 #endif // defined(OS_CHROMEOS) |
| 74 virtual ExtensionEventRouterForwarder* | 75 virtual ExtensionEventRouterForwarder* |
| 75 extension_event_router_forwarder() OVERRIDE; | 76 extension_event_router_forwarder() OVERRIDE; |
| 76 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 77 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
| 77 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 78 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
| 78 virtual policy::PolicyService* policy_service() OVERRIDE; | 79 virtual policy::PolicyService* policy_service() OVERRIDE; |
| 79 virtual IconManager* icon_manager() OVERRIDE; | 80 virtual IconManager* icon_manager() OVERRIDE; |
| 80 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; | 81 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 bool created_browser_policy_connector_; | 174 bool created_browser_policy_connector_; |
| 174 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; | 175 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; |
| 175 | 176 |
| 176 scoped_refptr<printing::PrintPreviewTabController> | 177 scoped_refptr<printing::PrintPreviewTabController> |
| 177 print_preview_tab_controller_; | 178 print_preview_tab_controller_; |
| 178 | 179 |
| 179 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 180 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 180 | 181 |
| 181 scoped_ptr<ui::Clipboard> clipboard_; | 182 scoped_ptr<ui::Clipboard> clipboard_; |
| 182 | 183 |
| 184 scoped_ptr<VariationsService> variations_service_; |
| 185 |
| 183 // Manager for desktop notification UI. | 186 // Manager for desktop notification UI. |
| 184 bool created_notification_ui_manager_; | 187 bool created_notification_ui_manager_; |
| 185 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 188 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
| 186 | 189 |
| 187 #if defined(ENABLE_AUTOMATION) | 190 #if defined(ENABLE_AUTOMATION) |
| 188 scoped_ptr<AutomationProviderList> automation_provider_list_; | 191 scoped_ptr<AutomationProviderList> automation_provider_list_; |
| 189 #endif | 192 #endif |
| 190 | 193 |
| 191 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; | 194 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; |
| 192 | 195 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 #endif | 260 #endif |
| 258 | 261 |
| 259 // TODO(eroman): Remove this when done debugging 113031. This tracks | 262 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 260 // the callstack which released the final module reference count. | 263 // the callstack which released the final module reference count. |
| 261 base::debug::StackTrace release_last_reference_callstack_; | 264 base::debug::StackTrace release_last_reference_callstack_; |
| 262 | 265 |
| 263 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 266 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 264 }; | 267 }; |
| 265 | 268 |
| 266 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 269 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |