Index: remoting/host/chromoting_host.h |
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h |
index fe2c26fa60036caa53d33cf83119e3bd868671ee..b6d9359d38700d9650fa5eade5c445ab7cac01da 100644 |
--- a/remoting/host/chromoting_host.h |
+++ b/remoting/host/chromoting_host.h |
@@ -157,6 +157,10 @@ class ChromotingHost : public base::NonThreadSafe, |
pairing_registry_ = pairing_registry; |
} |
+ void set_enable_cast(bool enable) { |
Wez
2014/07/17 22:56:36
Add a comment to explain what it means to "enable_
aiguha
2014/07/18 21:30:37
Done.
|
+ enable_cast_ = enable; |
+ } |
+ |
base::WeakPtr<ChromotingHost> AsWeakPtr() { |
return weak_factory_.GetWeakPtr(); |
} |
@@ -221,6 +225,9 @@ class ChromotingHost : public base::NonThreadSafe, |
base::WeakPtrFactory<ChromotingHost> weak_factory_; |
+ // True if cast mode is enabled. |
+ bool enable_cast_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ChromotingHost); |
}; |