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 a9972296a0032cdd979eeb94da7477d38bee580e..cf605e1d151cbee5a1d9b53875278225ec247639 100644 |
--- a/components/arc/common/arc_instance_messages.h |
+++ b/components/arc/common/arc_instance_messages.h |
@@ -10,6 +10,9 @@ |
#include "base/file_descriptor_posix.h" |
#include "ipc/ipc_message_macros.h" |
+// Using relative paths since this file is shared between chromium and android. |
+#include "arc_notification_types.h" |
+ |
#define IPC_MESSAGE_START ArcInstanceMsgStart |
// Registers a virtual input device on the container side. |
@@ -22,3 +25,10 @@ IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RegisterInputDevice, |
std::string, /* name */ |
std::string, /* device_type */ |
base::FileDescriptor /* fd */) |
+ |
+IPC_ENUM_TRAITS_MAX_VALUE(arc::NotificationEvent, |
khmel1
2015/11/25 00:30:10
Comments
yoshiki
2015/11/25 09:40:35
Done.
|
+ arc::NotificationEvent::NOTIFICATION_EVENT_LAST) |
+ |
+IPC_MESSAGE_CONTROL2(ArcInstanceMsg_NotifyNotificationEvent, |
+ std::string /* key */, |
+ arc::NotificationEvent /* event */); |