| Index: chrome/browser/ui/webui/media_router/media_router_ui.h
|
| diff --git a/chrome/browser/ui/webui/media_router/media_router_ui.h b/chrome/browser/ui/webui/media_router/media_router_ui.h
|
| index 478f12ae64b8e972f08650f58dd6992bb7be4c6c..e2081595b12eae77886bd648c2fdd43ee5d35be4 100644
|
| --- a/chrome/browser/ui/webui/media_router/media_router_ui.h
|
| +++ b/chrome/browser/ui/webui/media_router/media_router_ui.h
|
| @@ -116,6 +116,10 @@ class MediaRouterUI : public ConstrainedWebDialogUI,
|
| // Calls MediaRouter to clear the given issue.
|
| void ClearIssue(const Issue::Id& issue_id);
|
|
|
| + // Calls MediaRouter to search route providers for |sink_id| with the source
|
| + // that is currently associated with |cast_mode|.
|
| + void SearchProviders(const MediaSink::Id& sink_id, MediaCastMode cast_mode);
|
| +
|
| // Returns the hostname of the default source's parent frame URL.
|
| std::string GetPresentationRequestSourceName() const;
|
| std::string GetTruncatedPresentationRequestSourceName() const;
|
| @@ -188,6 +192,11 @@ class MediaRouterUI : public ConstrainedWebDialogUI,
|
| // QueryResultManager::Observer
|
| void OnResultsUpdated(
|
| const std::vector<MediaSinkWithCastModes>& sinks) override;
|
| + void OnSearchResultsReceived(
|
| + const MediaSink::Id& sink_id,
|
| + const std::vector<MediaSinkWithCastModes>& sinks) override;
|
| +
|
| + void SortAndUpdateSinks();
|
|
|
| // Called by |issues_observer_| when the top issue has changed.
|
| // If the UI is already initialized, notifies |handler_| to update the UI.
|
| @@ -196,7 +205,7 @@ class MediaRouterUI : public ConstrainedWebDialogUI,
|
|
|
| // Called by |routes_observer_| when the set of active routes has changed.
|
| void OnRoutesUpdated(const std::vector<MediaRoute>& routes,
|
| - const std::vector<MediaRoute::Id>& joinable_route_ids);
|
| + const std::vector<MediaRoute::Id>& joinable_route_ids);
|
|
|
| // Callback passed to MediaRouter to receive response to route creation
|
| // requests.
|
|
|