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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.h
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index e4a287d6ef024fc203b22ec45a6655295b3ba803..e388bbc9ee36cfa17adcedd7fd3799f0bf48d004 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -107,6 +107,7 @@ class BrowserProcessImpl : public BrowserProcess,
BrowserProcessPlatformPart* platform_part() override;
extensions::EventRouterForwarder* extension_event_router_forwarder() override;
NotificationUIManager* notification_ui_manager() override;
+ NotificationPlatformBridge* notification_platform_bridge() override;
message_center::MessageCenter* message_center() override;
policy::BrowserPolicyConnector* browser_policy_connector() override;
policy::PolicyService* policy_service() override;
@@ -169,6 +170,7 @@ class BrowserProcessImpl : public BrowserProcess,
void CreateViewedPageTracker();
void CreateIconManager();
void CreateIntranetRedirectDetector();
+ void CreateNotificationPlatformBridge();
void CreateNotificationUIManager();
void CreateStatusTrayManager();
void CreatePrintPreviewDialogController();
@@ -246,6 +248,9 @@ class BrowserProcessImpl : public BrowserProcess,
std::unique_ptr<StatusTray> status_tray_;
+ bool created_notification_bridge_;
+ std::unique_ptr<NotificationPlatformBridge> notification_bridge_;
+
#if BUILDFLAG(ENABLE_BACKGROUND)
std::unique_ptr<BackgroundModeManager> background_mode_manager_;
#endif
« 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