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

Issue 302453012: Support casting for embedded YT videos (Closed)

Created:
6 years, 6 months ago by May
Modified:
6 years, 6 months ago
CC:
chromium-reviews, favayvod+watch_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, mark a. foltz
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support casting for embedded YT videos This is part 1 of the code to start supporting embedded YT for cast. The main issue is that YT embedded videos need to be identified via the frame that contains it. This CL sets the frame URL of each video in the MediaPlayerAndroid object. Clank downstream piece to come later. Min / Aaron: will send you the doc I have that explains this in more detail. BUG=358573 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277425 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277879

Patch Set 1 #

Patch Set 2 : Updated comments #

Total comments: 8

Patch Set 3 : Merged parameters into struct to avoid 2 IPC calls, updated nits #

Total comments: 10

Patch Set 4 : Addressed acolwell's comments #

Patch Set 5 : Sync to TOT before submitting #

Patch Set 6 : Attempt #2 at landing #

Patch Set 7 : Fixed MediaSourcePlayer test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -66 lines) Patch
M content/browser/media/android/browser_media_player_manager.h View 1 2 3 4 3 chunks +4 lines, -10 lines 0 comments Download
M content/browser/media/android/browser_media_player_manager.cc View 1 2 3 4 4 chunks +21 lines, -23 lines 0 comments Download
M content/common/media/media_player_messages_android.h View 1 2 3 4 2 chunks +15 lines, -15 lines 0 comments Download
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.cc View 1 2 3 4 1 chunk +12 lines, -4 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_player_android.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M media/base/android/media_player_android.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M media/base/android/media_player_bridge.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_player_bridge.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M media/base/android/media_source_player.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_source_player.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
May
6 years, 6 months ago (2014-05-28 16:58:45 UTC) #1
aberent
https://codereview.chromium.org/302453012/diff/20001/content/common/media/media_player_messages_android.h File content/common/media/media_player_messages_android.h (right): https://codereview.chromium.org/302453012/diff/20001/content/common/media/media_player_messages_android.h#newcode222 content/common/media/media_player_messages_android.h:222: GURL /* frame_source_url */); I don't like adding this ...
6 years, 6 months ago (2014-05-28 17:32:30 UTC) #2
May
Friendly ping -- Min, any comments on this? Adam, I know you were OOO most ...
6 years, 6 months ago (2014-06-02 13:20:34 UTC) #3
qinmin
just some nits, the logic lgtm to me https://codereview.chromium.org/302453012/diff/20001/content/browser/media/android/browser_media_player_manager.cc File content/browser/media/android/browser_media_player_manager.cc (right): https://codereview.chromium.org/302453012/diff/20001/content/browser/media/android/browser_media_player_manager.cc#newcode546 content/browser/media/android/browser_media_player_manager.cc:546: if ...
6 years, 6 months ago (2014-06-02 17:19:21 UTC) #4
mark a. foltz
Spoke w/Aaron briefly about this patch and he was wondering why we are plumbing a ...
6 years, 6 months ago (2014-06-02 19:25:37 UTC) #5
chromium-reviews
Mark, I shared the doc with you (on my N5, not sure if the app ...
6 years, 6 months ago (2014-06-02 20:24:00 UTC) #6
mark a. foltz
I see. I am a bit skeptical as a long term solution for this as ...
6 years, 6 months ago (2014-06-02 21:38:36 UTC) #7
May
It's not a long term solution (never was intended to be), for that we will ...
6 years, 6 months ago (2014-06-03 18:50:12 UTC) #8
May
Updated to merge all the player parameters into a struct to avoid 2 IPC calls ...
6 years, 6 months ago (2014-06-04 14:05:08 UTC) #9
Miguel Garcia
lgtm for tests
6 years, 6 months ago (2014-06-04 15:22:46 UTC) #10
acolwell GONE FROM CHROMIUM
not lgtm. Please work with YT to get the info you need placed in the ...
6 years, 6 months ago (2014-06-04 15:43:39 UTC) #11
acolwell GONE FROM CHROMIUM
Based on offline conversations, I'm willing to let this proceed to satisfy M37 commitments. Just ...
6 years, 6 months ago (2014-06-09 20:02:09 UTC) #12
May
https://codereview.chromium.org/302453012/diff/40001/content/browser/media/android/browser_media_player_manager.cc File content/browser/media/android/browser_media_player_manager.cc (right): https://codereview.chromium.org/302453012/diff/40001/content/browser/media/android/browser_media_player_manager.cc#newcode531 content/browser/media/android/browser_media_player_manager.cc:531: type, media_player_params.player_id, media_player_params.url, On 2014/06/09 20:02:09, acolwell wrote: > ...
6 years, 6 months ago (2014-06-10 18:22:20 UTC) #13
acolwell GONE FROM CHROMIUM
lgtm
6 years, 6 months ago (2014-06-10 19:41:47 UTC) #14
May
The CQ bit was checked by maybelle@chromium.org
6 years, 6 months ago (2014-06-16 14:00:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maybelle@chromium.org/302453012/80001
6 years, 6 months ago (2014-06-16 14:02:00 UTC) #16
commit-bot: I haz the power
Change committed as 277425
6 years, 6 months ago (2014-06-16 14:23:12 UTC) #17
binjin
A revert of this CL has been created in https://codereview.chromium.org/339613002/ by binjin@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-16 14:49:34 UTC) #18
jam
reverting since this broke the build please don't use NOTRY=true again. changes must have green ...
6 years, 6 months ago (2014-06-16 14:52:17 UTC) #19
May
The CQ bit was checked by maybelle@chromium.org
6 years, 6 months ago (2014-06-17 14:27:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maybelle@chromium.org/302453012/120001
6 years, 6 months ago (2014-06-17 14:28:22 UTC) #21
May
+palmer Added wrong cpalmer for review a while back. Chris - main change here is ...
6 years, 6 months ago (2014-06-17 16:06:57 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 17:10:59 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/74250)
6 years, 6 months ago (2014-06-17 17:11:01 UTC) #24
palmer
IPC security LGTM
6 years, 6 months ago (2014-06-17 17:35:00 UTC) #25
Miguel Garcia
The CQ bit was checked by miguelg@chromium.org
6 years, 6 months ago (2014-06-17 22:01:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maybelle@chromium.org/302453012/120001
6 years, 6 months ago (2014-06-17 22:03:10 UTC) #27
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 22:12:08 UTC) #28
Message was sent while issue was closed.
Change committed as 277879

Powered by Google App Engine
This is Rietveld 408576698