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

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: comments addressed 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
« no previous file with comments | « chrome/renderer/media/cast_session.h ('k') | chrome/renderer/media/cast_session_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..12d8ca73cc8b1739d6aeeb1dfb3f353617b0622a 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,
+ scoped_ptr<base::DictionaryValue> options) {
io_message_loop_proxy_->PostTask(
FROM_HERE,
base::Bind(
&CastSessionDelegate::StartUDP,
base::Unretained(delegate_.get()),
- remote_endpoint));
+ remote_endpoint,
+ base::Passed(&options)));
}
void CastSession::ToggleLogging(bool is_audio, bool enable) {
« no previous file with comments | « chrome/renderer/media/cast_session.h ('k') | chrome/renderer/media/cast_session_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698