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

Unified Diff: chrome/renderer/media/cast_session_delegate.cc

Issue 765643006: Cast: Make receiver use cast_transport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix end2end test Created 6 years 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/renderer/media/cast_session_delegate.cc
diff --git a/chrome/renderer/media/cast_session_delegate.cc b/chrome/renderer/media/cast_session_delegate.cc
index 603de20e6313a8943881953f1e2da224e01ac45e..d44a62b34c30fdb7995fd28776fc8e9afcaecc2c 100644
--- a/chrome/renderer/media/cast_session_delegate.cc
+++ b/chrome/renderer/media/cast_session_delegate.cc
@@ -100,8 +100,10 @@ void CastSessionDelegate::StartUDP(const net::IPEndPoint& remote_endpoint,
// Rationale for using unretained: The callback cannot be called after the
// destruction of CastTransportSenderIPC, and they both share the same thread.
cast_transport_.reset(new CastTransportSenderIPC(
+ net::IPEndPoint(),
remote_endpoint,
options.Pass(),
+ media::cast::PacketReceiverCallback(),
base::Bind(&CastSessionDelegate::StatusNotificationCB,
base::Unretained(this)),
base::Bind(&CastSessionDelegate::LogRawEvents, base::Unretained(this))));

Powered by Google App Engine
This is Rietveld 408576698