Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index 6558dbb1c5de20ef3525bce125fb4bf8a2183f6e..d08dbaa6991c446b5e2ac6d43a7e3199d9b13eb9 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -84,7 +84,8 @@ ChromotingHost::ChromotingHost( |
authenticating_client_(false), |
reject_authenticating_client_(false), |
enable_curtaining_(false), |
- weak_factory_(this) { |
+ weak_factory_(this), |
+ enable_cast_(false) { |
DCHECK(network_task_runner_->BelongsToCurrentThread()); |
DCHECK(signal_strategy); |
@@ -331,6 +332,8 @@ void ChromotingHost::OnIncomingSession( |
max_session_duration_, |
pairing_registry_); |
+ client->set_enable_cast(enable_cast_); |
+ |
// Registers capabilities provided by host extensions. |
for (HostExtensionList::iterator extension = extensions_.begin(); |
extension != extensions_.end(); ++extension) { |