diff options
author | apacible <apacible@chromium.org> | 2016-03-22 12:36:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-22 19:37:35 +0000 |
commit | 813d605e717ff246ea1bf65e11db6fbb4cf8679e (patch) | |
tree | beca828df35c2953652b05786b8402e50d0f19e3 /device | |
parent | f99117c09fe27d36de955df2f35d260de3628cfd (diff) | |
download | chromium_src-813d605e717ff246ea1bf65e11db6fbb4cf8679e.zip chromium_src-813d605e717ff246ea1bf65e11db6fbb4cf8679e.tar.gz chromium_src-813d605e717ff246ea1bf65e11db6fbb4cf8679e.tar.bz2 |
[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
Review URL: https://codereview.chromium.org/1807223003
Cr-Commit-Position: refs/heads/master@{#382640}
Diffstat (limited to 'device')
0 files changed, 0 insertions, 0 deletions