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

Unified Diff: chrome/browser/media/router/media_sink.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: Move launch tracker to extension. 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/media/router/media_sink.h
diff --git a/chrome/browser/media/router/media_sink.h b/chrome/browser/media/router/media_sink.h
index face195ba403e1cae722a04b0317ffe7f766bfd2..93d886f3c93fff00be4eae925885c683a121c2ca 100644
--- a/chrome/browser/media/router/media_sink.h
+++ b/chrome/browser/media/router/media_sink.h
@@ -14,12 +14,15 @@ class MediaSink {
public:
using Id = std::string;
- MediaSink(const MediaSink::Id& sink_id, const std::string& name);
+ MediaSink(const MediaSink::Id& sink_id,
+ const std::string& name,
+ bool is_launching);
~MediaSink();
const MediaSink::Id& id() const { return sink_id_; }
const std::string& name() const { return name_; }
+ bool is_launching() const { return is_launching_; }
bool Equals(const MediaSink& other) const;
bool Empty() const;
@@ -30,6 +33,7 @@ class MediaSink {
// Descriptive name of the MediaSink.
// Optional, can use an empty string if no sink name is available.
std::string name_;
+ bool is_launching_;
Kevin M 2015/08/11 21:28:47 Comment?
haibinlu 2015/08/12 20:32:53 Done.
};
} // namespace media_router

Powered by Google App Engine
This is Rietveld 408576698