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

Issue 1807223003: [Media Router WebUI] Clear pending route creation properties on error. (Closed)

Created:
4 years, 9 months ago by apacible
Modified:
4 years, 9 months ago
Reviewers:
mark a. foltz
CC:
arv+watch_chromium.org, chromium-reviews, media-router+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] Clear pending route creation properties on error. Sometimes, routes are created but initially "not for display". These are later resolved as "for display", then updated with an updated route list from the MRP to the WebUI. Currently, when a route fails to resolve "for display", an issue is sent to the WebUI but no indication that the route creation had failed. This causes the sink that is currently "pending route launch" to show the spinner forever, rendering the rest of the sink list unable to create a route. This change corresponds with a change in the MRP that makes use of the |routeId| field in an incoming issue and clears any pending route creation properties if the error corresponds to |pendingCreatedRouteId_|. This also renames |mediaRouteId| to |routeId| to be uniform with other references. BUG=592081 Committed: https://crrev.com/813d605e717ff246ea1bf65e11db6fbb4cf8679e Cr-Commit-Position: refs/heads/master@{#382640}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Changes per mfoltz@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js View 1 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/resources/media_router/media_router_data.js View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
apacible
PTAL, thanks!
4 years, 9 months ago (2016-03-21 16:44:02 UTC) #8
mark a. foltz
I think there is a somewhat more fundamental issue, which is that the MRP is ...
4 years, 9 months ago (2016-03-21 20:41:21 UTC) #9
apacible
> I think there is a somewhat more fundamental issue, which is that the MRP ...
4 years, 9 months ago (2016-03-21 23:17:28 UTC) #10
mark a. foltz
lgtm
4 years, 9 months ago (2016-03-22 17:02:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807223003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807223003/80001
4 years, 9 months ago (2016-03-22 18:13:36 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 9 months ago (2016-03-22 19:36:11 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 19:37:47 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/813d605e717ff246ea1bf65e11db6fbb4cf8679e
Cr-Commit-Position: refs/heads/master@{#382640}

Powered by Google App Engine
This is Rietveld 408576698