Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 12375004: Re-home the global MessageCenter to support Ash+Win environments. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge master. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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_
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698