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

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

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests and refined the code Created 7 years, 8 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_player_messages.h
diff --git a/content/common/media/media_player_messages.h b/content/common/media/media_player_messages.h
index 3df3c0c73eb2f6c9b5de68dfcc95e49f6ffeda6b..e9935201da857ac737d37e89f83e7cfde7a0301b 100644
--- a/content/common/media/media_player_messages.h
+++ b/content/common/media/media_player_messages.h
@@ -11,6 +11,7 @@
#include "content/common/content_export.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
+#include "media/base/android/media_player_bridge.h"
#include "ui/gfx/rect_f.h"
#undef IPC_MESSAGE_EXPORT
@@ -23,6 +24,7 @@
IPC_ENUM_TRAITS(media::AudioCodec)
IPC_ENUM_TRAITS(media::DemuxerStream::Status)
IPC_ENUM_TRAITS(media::DemuxerStream::Type)
+IPC_ENUM_TRAITS(media::MediaPlayerBridge::MediaSource)
IPC_ENUM_TRAITS(media::VideoCodec)
IPC_STRUCT_TRAITS_BEGIN(media::MediaPlayerHostMsg_DemuxerReady_Params)
@@ -142,7 +144,7 @@ IPC_MESSAGE_ROUTED0(MediaPlayerHostMsg_DestroyAllMediaPlayers)
IPC_MESSAGE_ROUTED4(MediaPlayerHostMsg_MediaPlayerInitialize,
int /* player_id */,
GURL /* url */,
- bool /* is_media_source */,
+ media::MediaPlayerBridge::MediaSource /* media_source */,
GURL /* first_party_for_cookies */)
// Pause the player.

Powered by Google App Engine
This is Rietveld 408576698