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

Unified Diff: ui/arc/notification/arc_notification_manager.h

Issue 1596663002: arc-bridge: Introduce the ArcService class (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Rebased + protected ArcService direct instantiation Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/video/arc_video_bridge.cc ('k') | ui/arc/notification/arc_notification_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_notification_manager.h
diff --git a/ui/arc/notification/arc_notification_manager.h b/ui/arc/notification/arc_notification_manager.h
index d197be81e4b643bea1ec9c52f12683b17fc85938..f463fa6f3e46efa769fa1aa712b02280b83f29cb 100644
--- a/ui/arc/notification/arc_notification_manager.h
+++ b/ui/arc/notification/arc_notification_manager.h
@@ -10,6 +10,7 @@
#include "base/containers/scoped_ptr_hash_map.h"
#include "components/arc/arc_bridge_service.h"
+#include "components/arc/arc_service.h"
#include "components/arc/common/notifications.mojom.h"
#include "components/signin/core/account_id/account_id.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -18,7 +19,8 @@ namespace arc {
class ArcNotificationItem;
-class ArcNotificationManager : public ArcBridgeService::Observer,
+class ArcNotificationManager : public ArcService,
+ public ArcBridgeService::Observer,
public NotificationsHost {
public:
ArcNotificationManager(ArcBridgeService* bridge_service,
@@ -37,7 +39,6 @@ class ArcNotificationManager : public ArcBridgeService::Observer,
void SendNotificationClickedOnChrome(const std::string& key);
private:
- ArcBridgeService* const arc_bridge_;
const AccountId main_profile_id_;
using ItemMap =
« no previous file with comments | « components/arc/video/arc_video_bridge.cc ('k') | ui/arc/notification/arc_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698