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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.cc

Issue 807723004: Cast audio only policy enforcement support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review changes Created 5 years, 11 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: extensions/browser/api/cast_channel/cast_channel_api.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.cc b/extensions/browser/api/cast_channel/cast_channel_api.cc
index 08e05d42746ccba4fd355d754855ad717e5c3471..5c351b7fe31eefdc29ba83834358f3fb25e9faa9 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_api.cc
@@ -347,7 +347,8 @@ void CastChannelOpenFunction::AsyncWorkStart() {
base::TimeDelta::FromMilliseconds(connect_info_->timeout.get()
? *connect_info_->timeout
: kDefaultConnectTimeoutMillis),
- api_->GetLogger());
+ api_->GetLogger(),
+ connect_info_->capabilities.get() ? *connect_info_->capabilities : 0);
mark a. foltz 2015/01/13 01:42:19 Consider declaring a constant value to provide the
vadimgo 2015/01/13 02:21:44 Done.
}
new_channel_id_ = AddSocket(socket);
scoped_ptr<CastMessageHandler> delegate(new CastMessageHandler(api_, socket));

Powered by Google App Engine
This is Rietveld 408576698