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

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 compile 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
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 virtual message_center::MessageCenter* message_center() OVERRIDE;
88 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; 89 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
89 virtual policy::PolicyService* policy_service() OVERRIDE; 90 virtual policy::PolicyService* policy_service() OVERRIDE;
90 virtual IconManager* icon_manager() OVERRIDE; 91 virtual IconManager* icon_manager() OVERRIDE;
91 virtual GLStringManager* gl_string_manager() OVERRIDE; 92 virtual GLStringManager* gl_string_manager() OVERRIDE;
92 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; 93 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE;
93 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; 94 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE;
94 virtual void CreateDevToolsHttpProtocolHandler( 95 virtual void CreateDevToolsHttpProtocolHandler(
95 Profile* profile, 96 Profile* profile,
96 const std::string& ip, 97 const std::string& ip,
97 int port, 98 int port,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void CreateWatchdogThread(); 135 void CreateWatchdogThread();
135 #if defined(OS_CHROMEOS) 136 #if defined(OS_CHROMEOS)
136 void InitializeWebSocketProxyThread(); 137 void InitializeWebSocketProxyThread();
137 #endif 138 #endif
138 void CreateProfileManager(); 139 void CreateProfileManager();
139 void CreateLocalState(); 140 void CreateLocalState();
140 void CreateViewedPageTracker(); 141 void CreateViewedPageTracker();
141 void CreateIconManager(); 142 void CreateIconManager();
142 void CreateIntranetRedirectDetector(); 143 void CreateIntranetRedirectDetector();
143 void CreateNotificationUIManager(); 144 void CreateNotificationUIManager();
145 void CreateMessageCenter();
144 void CreateStatusTrayManager(); 146 void CreateStatusTrayManager();
145 void CreatePrintPreviewDialogController(); 147 void CreatePrintPreviewDialogController();
146 void CreateBackgroundPrintingManager(); 148 void CreateBackgroundPrintingManager();
147 void CreateSafeBrowsingService(); 149 void CreateSafeBrowsingService();
148 void CreateSafeBrowsingDetectionService(); 150 void CreateSafeBrowsingDetectionService();
149 void CreateStatusTray(); 151 void CreateStatusTray();
150 void CreateBackgroundModeManager(); 152 void CreateBackgroundModeManager();
151 153
152 void ApplyDisabledSchemesPolicy(); 154 void ApplyDisabledSchemesPolicy();
153 void ApplyAllowCrossOriginAuthPromptPolicy(); 155 void ApplyAllowCrossOriginAuthPromptPolicy();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 print_preview_dialog_controller_; 201 print_preview_dialog_controller_;
200 202
201 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; 203 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_;
202 204
203 scoped_ptr<chrome_variations::VariationsService> variations_service_; 205 scoped_ptr<chrome_variations::VariationsService> variations_service_;
204 206
205 // Manager for desktop notification UI. 207 // Manager for desktop notification UI.
206 bool created_notification_ui_manager_; 208 bool created_notification_ui_manager_;
207 scoped_ptr<NotificationUIManager> notification_ui_manager_; 209 scoped_ptr<NotificationUIManager> notification_ui_manager_;
208 210
211 bool created_message_center_;
212 #if defined(ENABLE_MESSAGE_CENTER)
stevenjb 2013/01/18 19:56:19 Shouldn't we add && !USE_ASH here?
Dmitry Titov 2013/01/18 21:23:00 Done. While this instance is created on demand and
213 // MessageCenter keeps currently displayed UI notifications.
214 scoped_ptr<message_center::MessageCenter> message_center_;
215 #endif
216
209 #if defined(ENABLE_AUTOMATION) 217 #if defined(ENABLE_AUTOMATION)
210 scoped_ptr<AutomationProviderList> automation_provider_list_; 218 scoped_ptr<AutomationProviderList> automation_provider_list_;
211 #endif 219 #endif
212 220
213 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; 221 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
214 222
215 scoped_ptr<StatusTray> status_tray_; 223 scoped_ptr<StatusTray> status_tray_;
216 224
217 scoped_ptr<BackgroundModeManager> background_mode_manager_; 225 scoped_ptr<BackgroundModeManager> background_mode_manager_;
218 226
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 #endif 299 #endif
292 300
293 // TODO(eroman): Remove this when done debugging 113031. This tracks 301 // TODO(eroman): Remove this when done debugging 113031. This tracks
294 // the callstack which released the final module reference count. 302 // the callstack which released the final module reference count.
295 base::debug::StackTrace release_last_reference_callstack_; 303 base::debug::StackTrace release_last_reference_callstack_;
296 304
297 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 305 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
298 }; 306 };
299 307
300 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 308 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698