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

Unified Diff: content/common/media/media_session_messages_android.h

Issue 1259633002: NOT FOR LANDING Implement WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack until something works Created 5 years, 4 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
Index: content/common/media/media_session_messages_android.h
diff --git a/content/common/media/media_session_messages_android.h b/content/common/media/media_session_messages_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..0bc27dd695ee8d369f1688d077a30c3d72fdfa07
--- /dev/null
+++ b/content/common/media/media_session_messages_android.h
@@ -0,0 +1,21 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// IPC messages for the Media Session API.
+// Multiply-included message file, hence no include guard.
+
+#include "base/basictypes.h"
+#include "content/common/android/gin_java_bridge_errors.h"
+#include "content/common/content_export.h"
+#include "ipc/ipc_message_macros.h"
+
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
+#define IPC_MESSAGE_START MediaSessionMsgStart
+
+IPC_MESSAGE_ROUTED1(MediaSessionHostMsg_Activate,
+ int /* session_id */)
+
+IPC_MESSAGE_ROUTED1(MediaSessionHostMsg_Deactivate,
+ int /* session_id */)

Powered by Google App Engine
This is Rietveld 408576698