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

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

Issue 551883004: Cast: Let the extension control if DSCP is on or off. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/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 3d16c5b8d40e16fd66b3ca26f97bdc94db8fa958..66ea705f3b13bb7106e8ece0ecea1d35d874ca40 100644
--- a/chrome/renderer/media/cast_session_delegate.cc
+++ b/chrome/renderer/media/cast_session_delegate.cc
@@ -82,7 +82,8 @@ void CastSessionDelegate::StartVideo(
create_video_encode_mem_cb);
}
-void CastSessionDelegate::StartUDP(const net::IPEndPoint& remote_endpoint) {
+void CastSessionDelegate::StartUDP(const net::IPEndPoint& remote_endpoint,
+ const std::string& options) {
DCHECK(io_message_loop_proxy_->BelongsToCurrentThread());
// CastSender uses the renderer's IO thread as the main thread. This reduces
@@ -100,6 +101,7 @@ void CastSessionDelegate::StartUDP(const net::IPEndPoint& remote_endpoint) {
// destruction of CastTransportSenderIPC, and they both share the same thread.
cast_transport_.reset(new CastTransportSenderIPC(
remote_endpoint,
+ options,
base::Bind(&CastSessionDelegate::StatusNotificationCB,
base::Unretained(this)),
base::Bind(&CastSessionDelegate::LogRawEvents, base::Unretained(this))));

Powered by Google App Engine
This is Rietveld 408576698