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

Issue 938903003: Cast: Javascript bindings for cast receiver (Closed)

Created:
5 years, 10 months ago by hubbe
Modified:
5 years, 9 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+watch_chromium.org, imcheng+watch_chromium.org, extensions-reviews_chromium.org, hguihot+watch_chromium.org, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, darin-cc_chromium.org, jasonroberts+watch_google.com, chromium-apps-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cast_receiver_session
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cast: Javascript bindings for cast receiver This adds javascript bindings for the functions in cast_receiver_session, allowing a cast_receiver to be initiated from a whitelisted javascript extension. Also fixes a crashing bug in udp_transport.cc. Committed: https://crrev.com/4449d976059b4d76ca1671560042f291f9a6083d Cr-Commit-Position: refs/heads/master@{#319175}

Patch Set 1 #

Patch Set 2 : merged #

Total comments: 48

Patch Set 3 : all comments addressed #

Patch Set 4 : merged #

Total comments: 4

Patch Set 5 : comments addressed #

Patch Set 6 : gn fix #

Patch Set 7 : removed local port #

Total comments: 32

Patch Set 8 : merge #

Patch Set 9 : git cl format #

Patch Set 10 : gn format #

Patch Set 11 : comments addressed #

Total comments: 2

Patch Set 12 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+626 lines, -50 lines) Patch
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/cast_streaming_receiver_session.idl View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +70 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/schemas.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/renderer/extensions/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/cast_streaming_native_handler.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +46 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/cast_streaming_native_handler.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +265 lines, -24 lines 0 comments Download
M chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/media/cast_receiver_session.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_receiver_session.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/renderer/media/cast_receiver_session_delegate.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_receiver_session_delegate.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/renderer/media/cast_session.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_session.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.h View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.cc View 1 2 3 chunks +24 lines, -6 lines 0 comments Download
M chrome/renderer/media/cast_udp_transport.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_udp_transport.cc View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
A + chrome/renderer/resources/extensions/cast_streaming_receiver_session_custom_bindings.js View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/renderer/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A content/public/renderer/media_stream_api.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A content/public/renderer/media_stream_api.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +125 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
hubbe
Doesn't compile yet since it depends on https://codereview.chromium.org/883293005/, but works locally, so it's probably ok ...
5 years, 10 months ago (2015-02-20 20:30:36 UTC) #2
Alpha Left Google
https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode6 chrome/common/extensions/api/cast_streaming_receiver_session.idl:6: // receiver session and returns a WebMediaStream. The term ...
5 years, 10 months ago (2015-02-25 20:37:28 UTC) #3
miu
https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode37 chrome/common/extensions/api/cast_streaming_receiver_session.idl:37: long? clockRate; Do we want clockRate at all? For ...
5 years, 10 months ago (2015-02-26 06:23:34 UTC) #5
hubbe
PTAL https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode6 chrome/common/extensions/api/cast_streaming_receiver_session.idl:6: // receiver session and returns a WebMediaStream. On ...
5 years, 9 months ago (2015-02-28 00:17:12 UTC) #6
miu
https://codereview.chromium.org/938903003/diff/60001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/60001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode66 chrome/common/extensions/api/cast_streaming_receiver_session.idl:66: long height, Rename to maxWidth/maxHeight, if these are needed ...
5 years, 9 months ago (2015-02-28 04:32:58 UTC) #7
hubbe
PTAL https://codereview.chromium.org/938903003/diff/60001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/60001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode66 chrome/common/extensions/api/cast_streaming_receiver_session.idl:66: long height, On 2015/02/28 04:32:58, miu wrote: > ...
5 years, 9 months ago (2015-03-03 01:23:03 UTC) #8
miu
lgtm
5 years, 9 months ago (2015-03-03 04:36:50 UTC) #9
hubbe
Ok, time for OWNERS review, jam, if you would? I'll need your approval for these ...
5 years, 9 months ago (2015-03-03 18:46:28 UTC) #11
jam
On 2015/03/03 18:46:28, hubbe wrote: > Ok, time for OWNERS review, jam, if you would? ...
5 years, 9 months ago (2015-03-03 19:08:05 UTC) #12
hubbe
+yoz After hacking "git cl onwers" a bit, I got more resonable file lists (no ...
5 years, 9 months ago (2015-03-03 21:41:41 UTC) #14
Alpha Left Google
https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode62 chrome/common/extensions/api/cast_streaming_receiver_session.idl:62: // |localEndpoint| : Set this to bind() to a ...
5 years, 9 months ago (2015-03-03 21:53:46 UTC) #15
hubbe
https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/20001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode62 chrome/common/extensions/api/cast_streaming_receiver_session.idl:62: // |localEndpoint| : Set this to bind() to a ...
5 years, 9 months ago (2015-03-03 22:36:16 UTC) #16
Alpha Left Google
LGTM on cast related files.
5 years, 9 months ago (2015-03-03 22:43:48 UTC) #17
Yoyo Zhou
https://chromiumcodereview.appspot.com/938903003/diff/120001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://chromiumcodereview.appspot.com/938903003/diff/120001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode16 chrome/common/extensions/api/cast_streaming_receiver_session.idl:16: dictionary CodecSpecificParams { Is this actually used? https://chromiumcodereview.appspot.com/938903003/diff/120001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode34 chrome/common/extensions/api/cast_streaming_receiver_session.idl:34: ...
5 years, 9 months ago (2015-03-04 03:12:16 UTC) #18
jam
rubberstamp lgtm for the files you listed for me. there needs to be a tracking ...
5 years, 9 months ago (2015-03-04 07:07:07 UTC) #19
hubbe
All comments addressed. PTAL. https://codereview.chromium.org/938903003/diff/120001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://codereview.chromium.org/938903003/diff/120001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode16 chrome/common/extensions/api/cast_streaming_receiver_session.idl:16: dictionary CodecSpecificParams { On 2015/03/04 ...
5 years, 9 months ago (2015-03-04 23:12:34 UTC) #20
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/938903003/diff/200001/chrome/common/extensions/api/cast_streaming_receiver_session.idl File chrome/common/extensions/api/cast_streaming_receiver_session.idl (right): https://chromiumcodereview.appspot.com/938903003/diff/200001/chrome/common/extensions/api/cast_streaming_receiver_session.idl#newcode53 chrome/common/extensions/api/cast_streaming_receiver_session.idl:53: // |localEndpoint| : Local ip and port to ...
5 years, 9 months ago (2015-03-04 23:31:33 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/938903003/220001
5 years, 9 months ago (2015-03-04 23:39:33 UTC) #24
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 9 months ago (2015-03-05 00:40:43 UTC) #25
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 00:42:05 UTC) #26
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/4449d976059b4d76ca1671560042f291f9a6083d
Cr-Commit-Position: refs/heads/master@{#319175}

Powered by Google App Engine
This is Rietveld 408576698