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

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

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only 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 | « ui/arc/notification/arc_notification_item.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 4bf60a54348ed5ac52c3d4fabe7b60e08bd358e5..f75b8286b7e1a07f6f585a8547e595394e29a3e1 100644
--- a/ui/arc/notification/arc_notification_manager.h
+++ b/ui/arc/notification/arc_notification_manager.h
@@ -21,7 +21,7 @@ class ArcNotificationItem;
class ArcNotificationManager : public ArcService,
public ArcBridgeService::Observer,
- public NotificationsHost {
+ public mojom::NotificationsHost {
public:
ArcNotificationManager(ArcBridgeService* bridge_service,
const AccountId& main_profile_id);
@@ -36,11 +36,11 @@ class ArcNotificationManager : public ArcService,
void OnNotificationsInstanceReady() override;
void OnNotificationsInstanceClosed() override;
- // NotificationsHost implementation:
- void OnNotificationPosted(ArcNotificationDataPtr data) override;
+ // mojom::NotificationsHost implementation:
+ void OnNotificationPosted(mojom::ArcNotificationDataPtr data) override;
void OnNotificationRemoved(const mojo::String& key) override;
- void OnToastPosted(ArcToastDataPtr data) override;
- void OnToastCancelled(ArcToastDataPtr data) override;
+ void OnToastPosted(mojom::ArcToastDataPtr data) override;
+ void OnToastCancelled(mojom::ArcToastDataPtr data) override;
// Methods called from ArcNotificationItem:
void SendNotificationRemovedFromChrome(const std::string& key);
@@ -58,7 +58,7 @@ class ArcNotificationManager : public ArcService,
bool ready_ = false;
- mojo::Binding<arc::NotificationsHost> binding_;
+ mojo::Binding<arc::mojom::NotificationsHost> binding_;
DISALLOW_COPY_AND_ASSIGN(ArcNotificationManager);
};
« no previous file with comments | « ui/arc/notification/arc_notification_item.cc ('k') | ui/arc/notification/arc_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698