| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 void ApplyDefaultBrowserPolicy(); | 147 void ApplyDefaultBrowserPolicy(); |
| 148 | 148 |
| 149 bool created_metrics_service_; | 149 bool created_metrics_service_; |
| 150 scoped_ptr<MetricsService> metrics_service_; | 150 scoped_ptr<MetricsService> metrics_service_; |
| 151 | 151 |
| 152 scoped_ptr<IOThread> io_thread_; | 152 scoped_ptr<IOThread> io_thread_; |
| 153 | 153 |
| 154 bool created_watchdog_thread_; | 154 bool created_watchdog_thread_; |
| 155 scoped_ptr<WatchDogThread> watchdog_thread_; | 155 scoped_ptr<WatchDogThread> watchdog_thread_; |
| 156 | 156 |
| 157 // Must be destroyed after |policy_service_| if StartTearDown() isn't invoked |
| 158 // during an early shutdown. |
| 159 bool created_browser_policy_connector_; |
| 160 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; |
| 161 |
| 157 // Must be destroyed after |local_state_|. | 162 // Must be destroyed after |local_state_|. |
| 158 scoped_ptr<policy::PolicyService> policy_service_; | 163 scoped_ptr<policy::PolicyService> policy_service_; |
| 159 | 164 |
| 160 bool created_profile_manager_; | 165 bool created_profile_manager_; |
| 161 scoped_ptr<ProfileManager> profile_manager_; | 166 scoped_ptr<ProfileManager> profile_manager_; |
| 162 | 167 |
| 163 bool created_local_state_; | 168 bool created_local_state_; |
| 164 scoped_ptr<PrefService> local_state_; | 169 scoped_ptr<PrefService> local_state_; |
| 165 | 170 |
| 166 bool created_icon_manager_; | 171 bool created_icon_manager_; |
| 167 scoped_ptr<IconManager> icon_manager_; | 172 scoped_ptr<IconManager> icon_manager_; |
| 168 | 173 |
| 169 scoped_refptr<ExtensionEventRouterForwarder> | 174 scoped_refptr<ExtensionEventRouterForwarder> |
| 170 extension_event_router_forwarder_; | 175 extension_event_router_forwarder_; |
| 171 | 176 |
| 172 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 177 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
| 173 | 178 |
| 174 bool created_browser_policy_connector_; | |
| 175 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; | |
| 176 | |
| 177 scoped_refptr<printing::PrintPreviewTabController> | 179 scoped_refptr<printing::PrintPreviewTabController> |
| 178 print_preview_tab_controller_; | 180 print_preview_tab_controller_; |
| 179 | 181 |
| 180 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 182 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 181 | 183 |
| 182 scoped_ptr<ui::Clipboard> clipboard_; | 184 scoped_ptr<ui::Clipboard> clipboard_; |
| 183 | 185 |
| 184 scoped_ptr<VariationsService> variations_service_; | 186 scoped_ptr<VariationsService> variations_service_; |
| 185 | 187 |
| 186 // Manager for desktop notification UI. | 188 // Manager for desktop notification UI. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 #endif | 262 #endif |
| 261 | 263 |
| 262 // TODO(eroman): Remove this when done debugging 113031. This tracks | 264 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 263 // the callstack which released the final module reference count. | 265 // the callstack which released the final module reference count. |
| 264 base::debug::StackTrace release_last_reference_callstack_; | 266 base::debug::StackTrace release_last_reference_callstack_; |
| 265 | 267 |
| 266 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 268 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 267 }; | 269 }; |
| 268 | 270 |
| 269 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 271 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |