Index: components/arc/common/arc_instance_messages.h |
diff --git a/components/arc/common/arc_instance_messages.h b/components/arc/common/arc_instance_messages.h |
index 31597d2053fe072d254c85b8415f0e8e82a4a651..fec9c6788c2924203c264105983eb722b373881e 100644 |
--- a/components/arc/common/arc_instance_messages.h |
+++ b/components/arc/common/arc_instance_messages.h |
@@ -12,7 +12,9 @@ |
#include "base/file_descriptor_posix.h" |
#include "ipc/ipc_message_macros.h" |
-#include "components/arc/common/arc_message_types.h" |
+// Using relative paths since this file is shared between chromium and android. |
+#include "arc_message_types.h" |
+#include "arc_notification_types.h" |
#define IPC_MESSAGE_START ArcInstanceMsgStart |
@@ -46,3 +48,9 @@ IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RequestAppIcon, |
std::string, /* package */ |
std::string, /* activity */ |
arc::ScaleFactor /* scale factor */) |
+ |
+// Sends an event from Chrome notification UI to Android. |
+// |event| is a type of occured event. |
+IPC_MESSAGE_CONTROL2(ArcInstanceMsg_SendNotificationEventToAndroid, |
+ std::string /* key */, |
+ arc::ArcNotificationEvent /* event */); |