diff options
Diffstat (limited to 'ui/arc/notification/arc_notification_manager.h')
-rw-r--r-- | ui/arc/notification/arc_notification_manager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/arc/notification/arc_notification_manager.h b/ui/arc/notification/arc_notification_manager.h index 4b21719..2709116 100644 --- a/ui/arc/notification/arc_notification_manager.h +++ b/ui/arc/notification/arc_notification_manager.h @@ -13,6 +13,7 @@ #include "components/arc/common/notifications.mojom.h" #include "components/signin/core/account_id/account_id.h" #include "mojo/public/cpp/bindings/binding.h" +#include "ui/message_center/message_center.h" namespace arc { @@ -24,6 +25,11 @@ class ArcNotificationManager : public ArcService, public: ArcNotificationManager(ArcBridgeService* bridge_service, const AccountId& main_profile_id); + + ArcNotificationManager(ArcBridgeService* bridge_service, + const AccountId& main_profile_id, + message_center::MessageCenter* message_center); + ~ArcNotificationManager() override; // ArcBridgeService::Observer implementation: @@ -42,6 +48,7 @@ class ArcNotificationManager : public ArcService, private: const AccountId main_profile_id_; + message_center::MessageCenter* const message_center_; using ItemMap = std::unordered_map<std::string, scoped_ptr<ArcNotificationItem>>; |