| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void PostDestroyThreads(); | 57 void PostDestroyThreads(); |
| 58 | 58 |
| 59 // BrowserProcess implementation. | 59 // BrowserProcess implementation. |
| 60 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 60 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 61 virtual void EndSession() OVERRIDE; | 61 virtual void EndSession() OVERRIDE; |
| 62 virtual MetricsService* metrics_service() OVERRIDE; | 62 virtual MetricsService* metrics_service() OVERRIDE; |
| 63 virtual IOThread* io_thread() OVERRIDE; | 63 virtual IOThread* io_thread() OVERRIDE; |
| 64 virtual WatchDogThread* watchdog_thread() OVERRIDE; | 64 virtual WatchDogThread* watchdog_thread() OVERRIDE; |
| 65 virtual ProfileManager* profile_manager() OVERRIDE; | 65 virtual ProfileManager* profile_manager() OVERRIDE; |
| 66 virtual PrefService* local_state() OVERRIDE; | 66 virtual PrefService* local_state() OVERRIDE; |
| 67 virtual ui::Clipboard* clipboard() OVERRIDE; | |
| 68 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 67 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
| 69 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; | 68 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; |
| 70 #if defined(OS_CHROMEOS) | 69 #if defined(OS_CHROMEOS) |
| 71 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; | 70 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; |
| 72 #endif // defined(OS_CHROMEOS) | 71 #endif // defined(OS_CHROMEOS) |
| 73 virtual extensions::EventRouterForwarder* | 72 virtual extensions::EventRouterForwarder* |
| 74 extension_event_router_forwarder() OVERRIDE; | 73 extension_event_router_forwarder() OVERRIDE; |
| 75 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 74 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
| 76 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 75 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
| 77 virtual policy::PolicyService* policy_service() OVERRIDE; | 76 virtual policy::PolicyService* policy_service() OVERRIDE; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 170 |
| 172 #if !defined(OS_ANDROID) | 171 #if !defined(OS_ANDROID) |
| 173 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 172 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
| 174 #endif | 173 #endif |
| 175 | 174 |
| 176 scoped_refptr<printing::PrintPreviewTabController> | 175 scoped_refptr<printing::PrintPreviewTabController> |
| 177 print_preview_tab_controller_; | 176 print_preview_tab_controller_; |
| 178 | 177 |
| 179 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 178 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 180 | 179 |
| 181 scoped_ptr<ui::Clipboard> clipboard_; | |
| 182 | |
| 183 scoped_ptr<chrome_variations::VariationsService> variations_service_; | 180 scoped_ptr<chrome_variations::VariationsService> variations_service_; |
| 184 | 181 |
| 185 // Manager for desktop notification UI. | 182 // Manager for desktop notification UI. |
| 186 bool created_notification_ui_manager_; | 183 bool created_notification_ui_manager_; |
| 187 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 184 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
| 188 | 185 |
| 189 #if defined(ENABLE_AUTOMATION) | 186 #if defined(ENABLE_AUTOMATION) |
| 190 scoped_ptr<AutomationProviderList> automation_provider_list_; | 187 scoped_ptr<AutomationProviderList> automation_provider_list_; |
| 191 #endif | 188 #endif |
| 192 | 189 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 #endif | 254 #endif |
| 258 | 255 |
| 259 // TODO(eroman): Remove this when done debugging 113031. This tracks | 256 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 260 // the callstack which released the final module reference count. | 257 // the callstack which released the final module reference count. |
| 261 base::debug::StackTrace release_last_reference_callstack_; | 258 base::debug::StackTrace release_last_reference_callstack_; |
| 262 | 259 |
| 263 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 260 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 264 }; | 261 }; |
| 265 | 262 |
| 266 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 263 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |