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

Issue 1971893002: [MediaRouter] Update JoinRoute behavior to allow non-local routes. (Closed)

Created:
4 years, 7 months ago by mark a. foltz
Modified:
4 years, 7 months ago
Reviewers:
imcheng
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, media-router+watch_chromium.org, qsr+mojo_chromium.org, vadimgo, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MediaRouter] Update JoinRoute behavior to allow non-local routes. Change https://codereview.chromium.org/1911183002 rejects JoinRoute requests when there are no local routes. This breaks certain use cases for Cast. This relaxes the check to forward requests to the MRPM when there is any route (local or non-local). Long term, individual routes should be marked joinable or non-joinable so the optimization can be made precise. BUG=610797 Committed: https://crrev.com/0ae252e8c2280bacd2d75c280dc0440f97277e37 Cr-Commit-Position: refs/heads/master@{#393330}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Respond to imcheng@ comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M chrome/browser/media/router/media_router_base.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/media/router/media_router_base.cc View 1 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router_mojo_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc View 1 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
mark a. foltz
4 years, 7 months ago (2016-05-11 21:10:32 UTC) #3
imcheng
https://codereview.chromium.org/1971893002/diff/1/chrome/browser/media/router/media_router_base.cc File chrome/browser/media/router/media_router_base.cc (right): https://codereview.chromium.org/1971893002/diff/1/chrome/browser/media/router/media_router_base.cc#newcode30 chrome/browser/media/router/media_router_base.cc:30: has_route = !routes.empty(); nit: add a TODO here to ...
4 years, 7 months ago (2016-05-12 00:22:21 UTC) #4
imcheng
lgtm
4 years, 7 months ago (2016-05-12 00:22:28 UTC) #5
mark a. foltz
https://codereview.chromium.org/1971893002/diff/1/chrome/browser/media/router/media_router_base.cc File chrome/browser/media/router/media_router_base.cc (right): https://codereview.chromium.org/1971893002/diff/1/chrome/browser/media/router/media_router_base.cc#newcode30 chrome/browser/media/router/media_router_base.cc:30: has_route = !routes.empty(); On 2016/05/12 at 00:22:20, imcheng wrote: ...
4 years, 7 months ago (2016-05-12 18:38:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971893002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971893002/20001
4 years, 7 months ago (2016-05-12 18:39:07 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-12 19:31:06 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 19:32:07 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0ae252e8c2280bacd2d75c280dc0440f97277e37
Cr-Commit-Position: refs/heads/master@{#393330}

Powered by Google App Engine
This is Rietveld 408576698