| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void CreateWatchdogThread(); | 140 void CreateWatchdogThread(); |
| 141 #if defined(OS_CHROMEOS) | 141 #if defined(OS_CHROMEOS) |
| 142 void InitializeWebSocketProxyThread(); | 142 void InitializeWebSocketProxyThread(); |
| 143 #endif | 143 #endif |
| 144 void CreateProfileManager(); | 144 void CreateProfileManager(); |
| 145 void CreateLocalState(); | 145 void CreateLocalState(); |
| 146 void CreateViewedPageTracker(); | 146 void CreateViewedPageTracker(); |
| 147 void CreateIconManager(); | 147 void CreateIconManager(); |
| 148 void CreateIntranetRedirectDetector(); | 148 void CreateIntranetRedirectDetector(); |
| 149 void CreateNotificationUIManager(); | 149 void CreateNotificationUIManager(); |
| 150 #if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH) | |
| 151 void CreateMessageCenter(); | |
| 152 #endif | |
| 153 void CreateStatusTrayManager(); | 150 void CreateStatusTrayManager(); |
| 154 void CreatePrintPreviewDialogController(); | 151 void CreatePrintPreviewDialogController(); |
| 155 void CreateBackgroundPrintingManager(); | 152 void CreateBackgroundPrintingManager(); |
| 156 void CreateSafeBrowsingService(); | 153 void CreateSafeBrowsingService(); |
| 157 void CreateSafeBrowsingDetectionService(); | 154 void CreateSafeBrowsingDetectionService(); |
| 158 void CreateStatusTray(); | 155 void CreateStatusTray(); |
| 159 void CreateBackgroundModeManager(); | 156 void CreateBackgroundModeManager(); |
| 160 | 157 |
| 161 void ApplyDisabledSchemesPolicy(); | 158 void ApplyDisabledSchemesPolicy(); |
| 162 void ApplyAllowCrossOriginAuthPromptPolicy(); | 159 void ApplyAllowCrossOriginAuthPromptPolicy(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 print_preview_dialog_controller_; | 205 print_preview_dialog_controller_; |
| 209 | 206 |
| 210 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 207 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 211 | 208 |
| 212 scoped_ptr<chrome_variations::VariationsService> variations_service_; | 209 scoped_ptr<chrome_variations::VariationsService> variations_service_; |
| 213 | 210 |
| 214 // Manager for desktop notification UI. | 211 // Manager for desktop notification UI. |
| 215 bool created_notification_ui_manager_; | 212 bool created_notification_ui_manager_; |
| 216 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 213 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
| 217 | 214 |
| 218 #if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH) | |
| 219 // MessageCenter keeps currently displayed UI notifications. | |
| 220 scoped_ptr<message_center::MessageCenter> message_center_; | |
| 221 bool created_message_center_; | |
| 222 #endif | |
| 223 | |
| 224 #if defined(ENABLE_AUTOMATION) | 215 #if defined(ENABLE_AUTOMATION) |
| 225 scoped_ptr<AutomationProviderList> automation_provider_list_; | 216 scoped_ptr<AutomationProviderList> automation_provider_list_; |
| 226 #endif | 217 #endif |
| 227 | 218 |
| 228 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; | 219 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; |
| 229 | 220 |
| 230 scoped_ptr<StatusTray> status_tray_; | 221 scoped_ptr<StatusTray> status_tray_; |
| 231 | 222 |
| 232 scoped_ptr<BackgroundModeManager> background_mode_manager_; | 223 scoped_ptr<BackgroundModeManager> background_mode_manager_; |
| 233 | 224 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 #endif | 297 #endif |
| 307 | 298 |
| 308 // TODO(eroman): Remove this when done debugging 113031. This tracks | 299 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 309 // the callstack which released the final module reference count. | 300 // the callstack which released the final module reference count. |
| 310 base::debug::StackTrace release_last_reference_callstack_; | 301 base::debug::StackTrace release_last_reference_callstack_; |
| 311 | 302 |
| 312 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 303 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 313 }; | 304 }; |
| 314 | 305 |
| 315 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 306 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |