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

Issue 1294133002: [Presentation API, MediaRouter] Routing from media sink selection to route creation. (Closed)

Created:
5 years, 4 months ago by whywhat
Modified:
5 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, media-router+watch_chromium.org, posciak+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@media-router-discovery-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API, MediaRouter] Routing from media sink selection to route creation. Extracted little common chunks of code from MediaRouterUI. BUG=517101 Committed: https://crrev.com/4ccaf67671ff91282ff72ad1d0199320fae70757 Cr-Commit-Position: refs/heads/master@{#344218}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Report when the user dismisses the dialog. #

Total comments: 6

Patch Set 3 : Added comments and DCHECKs for null presentation request #

Total comments: 19

Patch Set 4 : Fixed comments and naming and DCHECKs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -34 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/media/router/ChromeMediaRouterDialogController.java View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java View 1 2 3 3 chunks +25 lines, -6 lines 0 comments Download
M chrome/browser/media/android/router/media_router_dialog_controller_android.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/media/android/router/media_router_dialog_controller_android.cc View 1 2 3 5 chunks +41 lines, -8 lines 0 comments Download
M chrome/browser/media/router/create_presentation_session_request.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/media/router/create_presentation_session_request.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_router_dialog_controller.h View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/media/router/media_router_dialog_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_ui.cc View 1 2 3 2 chunks +1 line, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (7 generated)
whywhat
Mounir and Derek for code review, Wez for ownership of the media router stuff. Please, ...
5 years, 4 months ago (2015-08-17 17:42:44 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294133002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294133002/1
5 years, 4 months ago (2015-08-17 17:43:42 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99102)
5 years, 4 months ago (2015-08-17 20:13:17 UTC) #6
mlamouri (slow - plz ping)
lgtm with comments applied https://codereview.chromium.org/1294133002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java File chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java (right): https://codereview.chromium.org/1294133002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java#newcode8 chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java:8: import android.support.v7.media.MediaRouter.RouteInfo; nit: why do ...
5 years, 4 months ago (2015-08-18 13:44:01 UTC) #7
whywhat
https://codereview.chromium.org/1294133002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java File chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java (right): https://codereview.chromium.org/1294133002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java#newcode8 chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java:8: import android.support.v7.media.MediaRouter.RouteInfo; On 2015/08/18 at 13:44:01, Mounir Lamouri wrote: ...
5 years, 4 months ago (2015-08-18 14:23:15 UTC) #8
imcheng
https://codereview.chromium.org/1294133002/diff/1/chrome/browser/media/router/create_presentation_session_request.cc File chrome/browser/media/router/create_presentation_session_request.cc (right): https://codereview.chromium.org/1294133002/diff/1/chrome/browser/media/router/create_presentation_session_request.cc#newcode66 chrome/browser/media/router/create_presentation_session_request.cc:66: presentation_request->MaybeInvokeErrorCallback( On 2015/08/18 14:23:15, whywhat wrote: > On 2015/08/18 ...
5 years, 4 months ago (2015-08-18 17:50:34 UTC) #9
whywhat
PTaL! https://codereview.chromium.org/1294133002/diff/20001/chrome/browser/media/android/router/media_router_dialog_controller_android.cc File chrome/browser/media/android/router/media_router_dialog_controller_android.cc (right): https://codereview.chromium.org/1294133002/diff/20001/chrome/browser/media/android/router/media_router_dialog_controller_android.cc#newcode40 chrome/browser/media/android/router/media_router_dialog_controller_android.cc:40: request(PassPresentationRequest()); On 2015/08/18 at 17:50:34, imcheng1 wrote: > ...
5 years, 4 months ago (2015-08-18 19:21:24 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294133002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294133002/40001
5 years, 4 months ago (2015-08-18 19:21:41 UTC) #12
imcheng
lgtm
5 years, 4 months ago (2015-08-18 20:13:11 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-18 20:36:28 UTC) #15
Wez
https://codereview.chromium.org/1294133002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java File chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java (right): https://codereview.chromium.org/1294133002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java#newcode56 chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java:56: * @param route the route information provided by Android ...
5 years, 4 months ago (2015-08-18 21:50:09 UTC) #16
Wez
LGTM once my comments are addressed.
5 years, 4 months ago (2015-08-18 21:59:28 UTC) #17
whywhat
https://codereview.chromium.org/1294133002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java File chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java (right): https://codereview.chromium.org/1294133002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java#newcode56 chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/MediaSink.java:56: * @param route the route information provided by Android ...
5 years, 4 months ago (2015-08-19 13:04:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294133002/60001
5 years, 4 months ago (2015-08-19 13:04:42 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-19 14:05:30 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 14:06:19 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4ccaf67671ff91282ff72ad1d0199320fae70757
Cr-Commit-Position: refs/heads/master@{#344218}

Powered by Google App Engine
This is Rietveld 408576698