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

Unified Diff: chrome/renderer/media/cast_session.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.cc
diff --git a/chrome/renderer/media/cast_session.cc b/chrome/renderer/media/cast_session.cc
index f1ebcaf92e0ac0cd69d99a0cdd69ba8cc0bb6828..9c58fe3834dbd1656e764bdaaedabba43b10b8ba 100644
--- a/chrome/renderer/media/cast_session.cc
+++ b/chrome/renderer/media/cast_session.cc
@@ -88,13 +88,15 @@ void CastSession::StartVideo(const media::cast::VideoSenderConfig& config,
base::Bind(&CreateVideoEncodeMemory))));
}
-void CastSession::StartUDP(const net::IPEndPoint& remote_endpoint) {
+void CastSession::StartUDP(const net::IPEndPoint& remote_endpoint,
+ const std::string& options) {
io_message_loop_proxy_->PostTask(
FROM_HERE,
base::Bind(
&CastSessionDelegate::StartUDP,
base::Unretained(delegate_.get()),
- remote_endpoint));
+ remote_endpoint,
+ options));
}
void CastSession::ToggleLogging(bool is_audio, bool enable) {

Powered by Google App Engine
This is Rietveld 408576698