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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_ui.h

Issue 1273423004: Shows a launch spinner next to a sink once it is selected to create a route. The launch spinner sur… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bb8c5b680eece5351d981f3a15fa7bb512db6e6a..85ed10a34113cba7f3dc70132725c9f1abe74a72 100644
--- a/chrome/browser/ui/webui/media_router/media_router_ui.h
+++ b/chrome/browser/ui/webui/media_router/media_router_ui.h
@@ -126,6 +126,7 @@ class MediaRouterUI
const content::WebContents* initiator() const { return initiator_; }
const std::string& GetRouteProviderExtensionId() const;
+ const std::set<MediaSink::Id>& GetSinkIdsInLaunch() const;
private:
class UIIssuesObserver;
@@ -145,7 +146,8 @@ class MediaRouterUI
// Callback passed to MediaRouter to receive response to route creation
// requests.
- void OnRouteResponseReceived(const MediaRoute* route,
+ void OnRouteResponseReceived(const MediaSink::Id& sink_id,
+ const MediaRoute* route,
const std::string& error);
bool DoCreateRoute(const MediaSink::Id& sink_id, MediaCastMode cast_mode);

Powered by Google App Engine
This is Rietveld 408576698