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

Issue 2142613002: [Media Router WebUI] Move replace route responsibility to extension (Closed)

Created:
4 years, 5 months ago by btolsch
Modified:
4 years, 4 months ago
Reviewers:
imcheng
CC:
chromium-reviews, media-router+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router WebUI] Move replace route responsibility to extension Currently the MR dialog controls the replace route functionality by stopping the current route and starting a new one when that completes. This doesn't allow the extension to optimize the change of source. This change replaces the current UI behavior by simply calling CreateRoute with the same sink and new source. This requires an extension change to support accepting CreateRoute calls to a sink with an existing route. BUG=614144 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/bbc838f3a5ed945462a29818591753e2cdb04f5c Cr-Commit-Position: refs/heads/master@{#410607}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add comments to route details cast logic #

Patch Set 3 : Rename event name in route_details_tests.js #

Messages

Total messages: 26 (10 generated)
btolsch
It looks like there's no major objections to the slightly-modified CreateRoute semantics so PTAL at ...
4 years, 5 months ago (2016-07-25 18:44:26 UTC) #3
imcheng
https://codereview.chromium.org/2142613002/diff/1/chrome/browser/resources/media_router/elements/route_details/route_details.js File chrome/browser/resources/media_router/elements/route_details/route_details.js (right): https://codereview.chromium.org/2142613002/diff/1/chrome/browser/resources/media_router/elements/route_details/route_details.js#newcode139 chrome/browser/resources/media_router/elements/route_details/route_details.js:139: if (!sink) { Is this case possible since sink ...
4 years, 4 months ago (2016-07-27 20:30:37 UTC) #4
btolsch
https://codereview.chromium.org/2142613002/diff/1/chrome/browser/resources/media_router/elements/route_details/route_details.js File chrome/browser/resources/media_router/elements/route_details/route_details.js (right): https://codereview.chromium.org/2142613002/diff/1/chrome/browser/resources/media_router/elements/route_details/route_details.js#newcode139 chrome/browser/resources/media_router/elements/route_details/route_details.js:139: if (!sink) { On 2016/07/27 20:30:37, imcheng wrote: > ...
4 years, 4 months ago (2016-07-27 22:16:41 UTC) #5
imcheng
lgtm https://codereview.chromium.org/2142613002/diff/1/chrome/browser/resources/media_router/elements/route_details/route_details.js File chrome/browser/resources/media_router/elements/route_details/route_details.js (right): https://codereview.chromium.org/2142613002/diff/1/chrome/browser/resources/media_router/elements/route_details/route_details.js#newcode139 chrome/browser/resources/media_router/elements/route_details/route_details.js:139: if (!sink) { On 2016/07/27 22:16:41, btolsch wrote: ...
4 years, 4 months ago (2016-08-01 17:36:31 UTC) #6
btolsch
Added some comments around the route details cast button/mode logic. FYI, this needs the extension-side ...
4 years, 4 months ago (2016-08-02 19:23:39 UTC) #8
imcheng
lgtm
4 years, 4 months ago (2016-08-02 19:32:33 UTC) #9
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/2142613002/20001
4 years, 4 months ago (2016-08-09 01:55:56 UTC) #11
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-08-09 01:55:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/276318)
4 years, 4 months ago (2016-08-09 02:29:42 UTC) #14
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/2142613002/40001
4 years, 4 months ago (2016-08-09 03:41:23 UTC) #17
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-08-09 03:41:26 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/258031)
4 years, 4 months ago (2016-08-09 05:57:29 UTC) #20
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/2142613002/40001
4 years, 4 months ago (2016-08-09 06:38:04 UTC) #22
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-08-09 06:38:06 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-09 07:35:58 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 07:37:19 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bbc838f3a5ed945462a29818591753e2cdb04f5c
Cr-Commit-Position: refs/heads/master@{#410607}

Powered by Google App Engine
This is Rietveld 408576698