Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // IPC messages for the Media Session API. | |
| 6 // Multiply-included message file, hence no include guard. | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "content/common/android/gin_java_bridge_errors.h" | |
| 10 #include "content/common/content_export.h" | |
| 11 #include "ipc/ipc_message_macros.h" | |
| 12 | |
| 13 #undef IPC_MESSAGE_EXPORT | |
| 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | |
| 15 #define IPC_MESSAGE_START MediaSessionMsgStart | |
| 16 | |
| 17 // Messages for notifying the render process of media session status ------- | |
| 18 | |
| 19 IPC_MESSAGE_ROUTED3(MediaSessionMsg_DidActivate, | |
| 20 int /* session_id */, | |
| 21 int /* activation_id */, | |
|
mlamouri (slow - plz ping)
2015/12/02 15:53:31
nit: request_id
davve
2015/12/04 12:43:09
Done.
| |
| 22 bool /* success */) | |
| 23 | |
| 24 IPC_MESSAGE_ROUTED2(MediaSessionMsg_DidDeactivate, | |
| 25 int /* session_id */, | |
| 26 int /* deactivation_id */) | |
|
mlamouri (slow - plz ping)
2015/12/02 15:53:31
ditto
davve
2015/12/04 12:43:09
Done.
| |
| 27 | |
| 28 // Messages for controlling the media session in browser process ---------- | |
| 29 | |
| 30 IPC_MESSAGE_ROUTED2(MediaSessionHostMsg_Activate, | |
| 31 int /* session_id */, | |
| 32 int /* activation_id */) | |
|
mlamouri (slow - plz ping)
2015/12/02 15:53:31
dis tôt
davve
2015/12/04 12:43:09
Done.
| |
| 33 | |
| 34 IPC_MESSAGE_ROUTED2(MediaSessionHostMsg_Deactivate, | |
| 35 int /* session_id */, | |
| 36 int /* deactivation_id */) | |
|
mlamouri (slow - plz ping)
2015/12/02 15:53:31
dit tôt
davve
2015/12/04 12:43:08
Done.
| |
| OLD | NEW |