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

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

Issue 1814923002: Nuke NotificationUIManager from PlatformNotificationServiceImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@profile_manager_load
Patch Set: Created 4 years, 8 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 | « 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 IOThread* io_thread() override; 100 IOThread* io_thread() override;
101 WatchDogThread* watchdog_thread() override; 101 WatchDogThread* watchdog_thread() override;
102 ProfileManager* profile_manager() override; 102 ProfileManager* profile_manager() override;
103 PrefService* local_state() override; 103 PrefService* local_state() override;
104 net::URLRequestContextGetter* system_request_context() override; 104 net::URLRequestContextGetter* system_request_context() override;
105 variations::VariationsService* variations_service() override; 105 variations::VariationsService* variations_service() override;
106 web_resource::PromoResourceService* promo_resource_service() override; 106 web_resource::PromoResourceService* promo_resource_service() override;
107 BrowserProcessPlatformPart* platform_part() override; 107 BrowserProcessPlatformPart* platform_part() override;
108 extensions::EventRouterForwarder* extension_event_router_forwarder() override; 108 extensions::EventRouterForwarder* extension_event_router_forwarder() override;
109 NotificationUIManager* notification_ui_manager() override; 109 NotificationUIManager* notification_ui_manager() override;
110 NotificationPlatformBridge* notification_platform_bridge() override;
110 message_center::MessageCenter* message_center() override; 111 message_center::MessageCenter* message_center() override;
111 policy::BrowserPolicyConnector* browser_policy_connector() override; 112 policy::BrowserPolicyConnector* browser_policy_connector() override;
112 policy::PolicyService* policy_service() override; 113 policy::PolicyService* policy_service() override;
113 IconManager* icon_manager() override; 114 IconManager* icon_manager() override;
114 GLStringManager* gl_string_manager() override; 115 GLStringManager* gl_string_manager() override;
115 GpuModeManager* gpu_mode_manager() override; 116 GpuModeManager* gpu_mode_manager() override;
116 void CreateDevToolsHttpProtocolHandler(const std::string& ip, 117 void CreateDevToolsHttpProtocolHandler(const std::string& ip,
117 uint16_t port) override; 118 uint16_t port) override;
118 void CreateDevToolsAutoOpener() override; 119 void CreateDevToolsAutoOpener() override;
119 bool IsShuttingDown() override; 120 bool IsShuttingDown() override;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // KeepAliveStateObserver implementation 163 // KeepAliveStateObserver implementation
163 void OnKeepAliveStateChanged(bool is_keeping_alive) override; 164 void OnKeepAliveStateChanged(bool is_keeping_alive) override;
164 void OnKeepAliveRestartStateChanged(bool can_restart) override; 165 void OnKeepAliveRestartStateChanged(bool can_restart) override;
165 166
166 void CreateWatchdogThread(); 167 void CreateWatchdogThread();
167 void CreateProfileManager(); 168 void CreateProfileManager();
168 void CreateLocalState(); 169 void CreateLocalState();
169 void CreateViewedPageTracker(); 170 void CreateViewedPageTracker();
170 void CreateIconManager(); 171 void CreateIconManager();
171 void CreateIntranetRedirectDetector(); 172 void CreateIntranetRedirectDetector();
173 void CreateNotificationPlatformBridge();
172 void CreateNotificationUIManager(); 174 void CreateNotificationUIManager();
173 void CreateStatusTrayManager(); 175 void CreateStatusTrayManager();
174 void CreatePrintPreviewDialogController(); 176 void CreatePrintPreviewDialogController();
175 void CreateBackgroundPrintingManager(); 177 void CreateBackgroundPrintingManager();
176 void CreateSafeBrowsingService(); 178 void CreateSafeBrowsingService();
177 void CreateSafeBrowsingDetectionService(); 179 void CreateSafeBrowsingDetectionService();
178 void CreateStatusTray(); 180 void CreateStatusTray();
179 void CreateBackgroundModeManager(); 181 void CreateBackgroundModeManager();
180 void CreateGCMDriver(); 182 void CreateGCMDriver();
181 183
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 #endif 241 #endif
240 242
241 // Manager for desktop notification UI. 243 // Manager for desktop notification UI.
242 bool created_notification_ui_manager_; 244 bool created_notification_ui_manager_;
243 std::unique_ptr<NotificationUIManager> notification_ui_manager_; 245 std::unique_ptr<NotificationUIManager> notification_ui_manager_;
244 246
245 std::unique_ptr<IntranetRedirectDetector> intranet_redirect_detector_; 247 std::unique_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
246 248
247 std::unique_ptr<StatusTray> status_tray_; 249 std::unique_ptr<StatusTray> status_tray_;
248 250
251 bool created_notification_bridge_;
252 std::unique_ptr<NotificationPlatformBridge> notification_bridge_;
253
249 #if BUILDFLAG(ENABLE_BACKGROUND) 254 #if BUILDFLAG(ENABLE_BACKGROUND)
250 std::unique_ptr<BackgroundModeManager> background_mode_manager_; 255 std::unique_ptr<BackgroundModeManager> background_mode_manager_;
251 #endif 256 #endif
252 257
253 bool created_safe_browsing_service_; 258 bool created_safe_browsing_service_;
254 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service_; 259 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service_;
255 260
256 bool shutting_down_; 261 bool shutting_down_;
257 262
258 bool tearing_down_; 263 bool tearing_down_;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // chrome/browser/memory/tab_manager_browsertest.cc 341 // chrome/browser/memory/tab_manager_browsertest.cc
337 std::unique_ptr<memory::TabManager> tab_manager_; 342 std::unique_ptr<memory::TabManager> tab_manager_;
338 #endif 343 #endif
339 344
340 shell_integration::DefaultWebClientState cached_default_web_client_state_; 345 shell_integration::DefaultWebClientState cached_default_web_client_state_;
341 346
342 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 347 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
343 }; 348 };
344 349
345 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 350 #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