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

Unified Diff: remoting/host/chromoting_host.cc

Issue 398873005: Preparations for Cast Host Extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added remoting_me2me_host Created 6 years, 5 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: 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) {

Powered by Google App Engine
This is Rietveld 408576698