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

Unified Diff: chrome/common/media_router/discovery/media_sink_internal.h

Issue 2965843002: [Media Router] Support dual discovery (Closed)
Patch Set: resolve code review comments from Derek Created 3 years, 5 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/common/media_router/discovery/media_sink_internal.h
diff --git a/chrome/common/media_router/discovery/media_sink_internal.h b/chrome/common/media_router/discovery/media_sink_internal.h
index 25d7b617e0f18c79922be432c602358895d13386..206882f04ecb88c6ebfbeeeb5b630646e1cd4dc6 100644
--- a/chrome/common/media_router/discovery/media_sink_internal.h
+++ b/chrome/common/media_router/discovery/media_sink_internal.h
@@ -35,6 +35,8 @@ struct DialSinkExtraData {
struct CastSinkExtraData {
net::IPAddress ip_address;
+ int port = 0;
+
// Model name of the sink.
std::string model_name;
@@ -47,6 +49,9 @@ struct CastSinkExtraData {
// browser reconnects to a device.
int cast_channel_id = 0;
+ // True if Cast channel is opened from DIAL sink.
+ bool discovered_by_dial = false;
+
CastSinkExtraData();
CastSinkExtraData(const CastSinkExtraData& other);
~CastSinkExtraData();

Powered by Google App Engine
This is Rietveld 408576698