[Media Router] Assign each route a current cast mode if possible
This change gives each media route in the WebUI a current cast mode
value if its media source corresponds to one of the currently available
cast modes. This is to prevent showing the 'cast' button that allows
replacing the route when the new route would effectively be a copy of
the original route.
BUG=
614144
R=apacible@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed:
https://crrev.com/a47d5b0506c1183d501767d17ffec02ca419ea76
Cr-Commit-Position: refs/heads/master@{#398687}