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

Unified Diff: chrome/browser/media/cast_transport_host_filter.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
Index: chrome/browser/media/cast_transport_host_filter.cc
diff --git a/chrome/browser/media/cast_transport_host_filter.cc b/chrome/browser/media/cast_transport_host_filter.cc
index 298693bb6f3575a933785273aa895e6d288befff..3f7739d506a0523a75f46b7431a6b15ca5e2b961 100644
--- a/chrome/browser/media/cast_transport_host_filter.cc
+++ b/chrome/browser/media/cast_transport_host_filter.cc
@@ -74,7 +74,8 @@ void CastTransportHostFilter::SendCastMessage(
void CastTransportHostFilter::OnNew(
int32 channel_id,
- const net::IPEndPoint& remote_end_point) {
+ const net::IPEndPoint& remote_end_point,
+ const base::DictionaryValue& options) {
if (!power_save_blocker_) {
DVLOG(1) << ("Preventing the application from being suspended while one or "
"more transports are active for Cast Streaming.");
@@ -92,6 +93,7 @@ void CastTransportHostFilter::OnNew(
g_browser_process->net_log(),
&clock_,
remote_end_point,
+ make_scoped_ptr(options.DeepCopy()),
base::Bind(&CastTransportHostFilter::NotifyStatusChange,
weak_factory_.GetWeakPtr(),
channel_id),
« no previous file with comments | « chrome/browser/media/cast_transport_host_filter.h ('k') | chrome/browser/media/cast_transport_host_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698