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

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

Issue 11958025: Start delegating notifications to MessageCenter on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another build fix Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process.h ('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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual ProfileManager* profile_manager() OVERRIDE; 78 virtual ProfileManager* profile_manager() OVERRIDE;
79 virtual PrefServiceSimple* local_state() OVERRIDE; 79 virtual PrefServiceSimple* local_state() OVERRIDE;
80 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 80 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
81 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; 81 virtual chrome_variations::VariationsService* variations_service() OVERRIDE;
82 #if defined(OS_CHROMEOS) 82 #if defined(OS_CHROMEOS)
83 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; 83 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE;
84 #endif // defined(OS_CHROMEOS) 84 #endif // defined(OS_CHROMEOS)
85 virtual extensions::EventRouterForwarder* 85 virtual extensions::EventRouterForwarder*
86 extension_event_router_forwarder() OVERRIDE; 86 extension_event_router_forwarder() OVERRIDE;
87 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; 87 virtual NotificationUIManager* notification_ui_manager() OVERRIDE;
88 #if defined(ENABLE_MESSAGE_CENTER)
89 virtual message_center::MessageCenter* message_center() OVERRIDE;
90 #endif
88 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; 91 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
89 virtual policy::PolicyService* policy_service() OVERRIDE; 92 virtual policy::PolicyService* policy_service() OVERRIDE;
90 virtual IconManager* icon_manager() OVERRIDE; 93 virtual IconManager* icon_manager() OVERRIDE;
91 virtual GLStringManager* gl_string_manager() OVERRIDE; 94 virtual GLStringManager* gl_string_manager() OVERRIDE;
92 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; 95 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE;
93 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; 96 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE;
94 virtual void CreateDevToolsHttpProtocolHandler( 97 virtual void CreateDevToolsHttpProtocolHandler(
95 Profile* profile, 98 Profile* profile,
96 const std::string& ip, 99 const std::string& ip,
97 int port, 100 int port,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void CreateWatchdogThread(); 137 void CreateWatchdogThread();
135 #if defined(OS_CHROMEOS) 138 #if defined(OS_CHROMEOS)
136 void InitializeWebSocketProxyThread(); 139 void InitializeWebSocketProxyThread();
137 #endif 140 #endif
138 void CreateProfileManager(); 141 void CreateProfileManager();
139 void CreateLocalState(); 142 void CreateLocalState();
140 void CreateViewedPageTracker(); 143 void CreateViewedPageTracker();
141 void CreateIconManager(); 144 void CreateIconManager();
142 void CreateIntranetRedirectDetector(); 145 void CreateIntranetRedirectDetector();
143 void CreateNotificationUIManager(); 146 void CreateNotificationUIManager();
147 #if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH)
148 void CreateMessageCenter();
149 #endif
144 void CreateStatusTrayManager(); 150 void CreateStatusTrayManager();
145 void CreatePrintPreviewDialogController(); 151 void CreatePrintPreviewDialogController();
146 void CreateBackgroundPrintingManager(); 152 void CreateBackgroundPrintingManager();
147 void CreateSafeBrowsingService(); 153 void CreateSafeBrowsingService();
148 void CreateSafeBrowsingDetectionService(); 154 void CreateSafeBrowsingDetectionService();
149 void CreateStatusTray(); 155 void CreateStatusTray();
150 void CreateBackgroundModeManager(); 156 void CreateBackgroundModeManager();
151 157
152 void ApplyDisabledSchemesPolicy(); 158 void ApplyDisabledSchemesPolicy();
153 void ApplyAllowCrossOriginAuthPromptPolicy(); 159 void ApplyAllowCrossOriginAuthPromptPolicy();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 print_preview_dialog_controller_; 205 print_preview_dialog_controller_;
200 206
201 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; 207 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_;
202 208
203 scoped_ptr<chrome_variations::VariationsService> variations_service_; 209 scoped_ptr<chrome_variations::VariationsService> variations_service_;
204 210
205 // Manager for desktop notification UI. 211 // Manager for desktop notification UI.
206 bool created_notification_ui_manager_; 212 bool created_notification_ui_manager_;
207 scoped_ptr<NotificationUIManager> notification_ui_manager_; 213 scoped_ptr<NotificationUIManager> notification_ui_manager_;
208 214
215 #if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH)
216 // MessageCenter keeps currently displayed UI notifications.
217 scoped_ptr<message_center::MessageCenter> message_center_;
218 bool created_message_center_;
219 #endif
220
209 #if defined(ENABLE_AUTOMATION) 221 #if defined(ENABLE_AUTOMATION)
210 scoped_ptr<AutomationProviderList> automation_provider_list_; 222 scoped_ptr<AutomationProviderList> automation_provider_list_;
211 #endif 223 #endif
212 224
213 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; 225 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
214 226
215 scoped_ptr<StatusTray> status_tray_; 227 scoped_ptr<StatusTray> status_tray_;
216 228
217 scoped_ptr<BackgroundModeManager> background_mode_manager_; 229 scoped_ptr<BackgroundModeManager> background_mode_manager_;
218 230
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 #endif 303 #endif
292 304
293 // TODO(eroman): Remove this when done debugging 113031. This tracks 305 // TODO(eroman): Remove this when done debugging 113031. This tracks
294 // the callstack which released the final module reference count. 306 // the callstack which released the final module reference count.
295 base::debug::StackTrace release_last_reference_callstack_; 307 base::debug::StackTrace release_last_reference_callstack_;
296 308
297 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 309 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
298 }; 310 };
299 311
300 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 312 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698