| Index: chrome/browser/media/router/presentation_session_state_observer.cc
|
| diff --git a/chrome/browser/media/router/presentation_session_state_observer.cc b/chrome/browser/media/router/presentation_session_state_observer.cc
|
| index 99e18d2a4aa23bfdc6929375fe3c893fff3d2abf..a54c2fa3171a4584da86b548c91c67937230e79f 100644
|
| --- a/chrome/browser/media/router/presentation_session_state_observer.cc
|
| +++ b/chrome/browser/media/router/presentation_session_state_observer.cc
|
| @@ -34,7 +34,13 @@ void PresentationSessionStateObserver::Reset() {
|
| }
|
|
|
| void PresentationSessionStateObserver::OnRoutesUpdated(
|
| - const std::vector<MediaRoute>& routes) {
|
| + const MediaSource::Id source_id,
|
| + const std::vector<MediaRoute>& routes,
|
| + const std::vector<MediaRoute>& joinable_routes) {
|
| +
|
| + if (source_id.compare(this->source_id()) != -1)
|
| + return;
|
| +
|
| std::vector<MediaRoute::Id> current_route_ids_;
|
| current_route_ids_.reserve(routes.size());
|
| for (const MediaRoute& route : routes)
|
|
|