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

Side by Side Diff: content/common/media/media_session_messages_android.h

Issue 1441883003: Hook up RendererMediaSessionManager with browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add documentation, style fix and scoped_ptr Created 5 years 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 unified diff | Download patch
OLDNEW
(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 -------
Mike West 2015/12/09 17:39:59 Tiny nit: We usually have some sort of "Messages f
davve 2015/12/10 08:28:38 Done.
18
19 IPC_MESSAGE_ROUTED2(MediaSessionMsg_DidActivate,
20 int /* request_id */,
21 bool /* success */)
22
23 IPC_MESSAGE_ROUTED1(MediaSessionMsg_DidDeactivate, int /* request_id */)
24
25 // Messages for controlling the media session in browser process ----------
26
27 IPC_MESSAGE_ROUTED2(MediaSessionHostMsg_Activate,
28 int /* session_id */,
29 int /* request_id */)
30
31 IPC_MESSAGE_ROUTED2(MediaSessionHostMsg_Deactivate,
32 int /* session_id */,
33 int /* request_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698