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

Issue 2434413002: Plumb firstPartyForCookies() to MediaPlayerBridge (Closed)

Created:
4 years, 2 months ago by tguilbert
Modified:
4 years, 1 month ago
Reviewers:
Oliver Chang, xhwang
CC:
chromium-reviews, qsr+mojo_chromium.org, feature-media-reviews_chromium.org, avayvod+watch_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, alokp+watch_chromium.org, darin (slow to review), mlamouri+watch-media_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumb firstPartyForCookies() to MediaPlayerBridge Currently, the MediaPlayerRenderer does not allow authenticated playback. This change adds the necessary plumbing to send the first party URL from blink::WebLocalFrame to the MediaPlayerBridge, in order to access (or to be denied access to) the first party cookies. Also opened 659826 which might necessite further investigation. BUG=636604 TEST=updated UTs for MediaUrlDemuxer Committed: https://crrev.com/9881bc24551338fe9644f02265e7269e73a07765 Cr-Commit-Position: refs/heads/master@{#427924}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added bug number to TODO #

Total comments: 2

Patch Set 3 : Clarified comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -38 lines) Patch
M content/browser/media/android/media_player_renderer.cc View 1 chunk +5 lines, -7 lines 0 comments Download
M media/base/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/base/demuxer_stream_provider.h View 1 3 chunks +5 lines, -3 lines 0 comments Download
M media/base/demuxer_stream_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/media_url_demuxer.h View 2 chunks +4 lines, -3 lines 0 comments Download
M media/base/media_url_demuxer.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M media/base/media_url_demuxer_unittest.cc View 2 chunks +19 lines, -9 lines 0 comments Download
A media/base/media_url_params.h View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M media/base/pipeline_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/blink/webmediaplayer_impl.cc View 2 chunks +4 lines, -1 line 0 comments Download
M media/mojo/clients/mojo_renderer.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M media/mojo/interfaces/renderer.mojom View 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/media_mojo_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
tguilbert
PTAL! I think that DemuxerStreamProvider is confusing and a misnomer, and that we should rename ...
4 years, 2 months ago (2016-10-20 23:18:58 UTC) #3
xhwang
On 2016/10/20 23:18:58, tguilbert wrote: > PTAL! > > I think that DemuxerStreamProvider is confusing ...
4 years, 2 months ago (2016-10-20 23:23:28 UTC) #4
xhwang
looking pretty good. I just have a question. https://codereview.chromium.org/2434413002/diff/40001/media/base/media_url_params.h File media/base/media_url_params.h (right): https://codereview.chromium.org/2434413002/diff/40001/media/base/media_url_params.h#newcode20 media/base/media_url_params.h:20: GURL ...
4 years, 2 months ago (2016-10-21 00:02:19 UTC) #5
tguilbert
https://codereview.chromium.org/2434413002/diff/40001/media/base/media_url_params.h File media/base/media_url_params.h (right): https://codereview.chromium.org/2434413002/diff/40001/media/base/media_url_params.h#newcode20 media/base/media_url_params.h:20: GURL first_party_for_cookies; On 2016/10/21 00:02:19, xhwang wrote: > Could ...
4 years, 2 months ago (2016-10-21 03:05:58 UTC) #6
xhwang
Thanks! LGTM
4 years, 2 months ago (2016-10-21 03:13:06 UTC) #7
tguilbert
+ochang Can you security review media/mojo/interfaces/renderer.mojom? Thank you!
4 years, 1 month ago (2016-10-24 21:21:35 UTC) #9
Oliver Chang
lgtm mojom lgtm
4 years, 1 month ago (2016-10-24 21:27:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434413002/60001
4 years, 1 month ago (2016-10-24 21:34:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434413002/60001
4 years, 1 month ago (2016-10-27 01:37:21 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-10-27 03:14:28 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 03:18:31 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9881bc24551338fe9644f02265e7269e73a07765
Cr-Commit-Position: refs/heads/master@{#427924}

Powered by Google App Engine
This is Rietveld 408576698