Index: components/arc/common/arc_host_messages.h |
diff --git a/components/arc/common/arc_host_messages.h b/components/arc/common/arc_host_messages.h |
index d4d72fe27c79c536259e795db5f6a4b69ae061cf..924ac3d18f2bfae19220beb095d97335a5f41b0f 100644 |
--- a/components/arc/common/arc_host_messages.h |
+++ b/components/arc/common/arc_host_messages.h |
@@ -7,6 +7,21 @@ |
#include "ipc/ipc_message_macros.h" |
+// Using relative paths since this file is shared between chromium and android. |
+#include "arc_message_param_traits.h" |
+#include "arc_notification_types.h" |
+ |
#define IPC_MESSAGE_START ArcInstanceHostMsgStart |
IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) |
+ |
+// Notifies that a notification is posted (created or updated) on the container |
+// side with the updated notification data. |
+// |notification_data| is the data of notification (id, texts, icon and ...). |
+IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationPosted, |
+ arc::ArcNotificationData /* notification_data */); |
+ |
+// Notifies that a notification is removed on the container side. |
+// |key| is the identifier of notification. |
+IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationRemoved, |
+ std::string /* key */); |