Index: remoting/host/chromoting_host.h |
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h |
index 290859ef3afb945470b7d9d6197bc2288e28dd4a..d00f31ff90aa9fd2e183a025d8da98849de6b1a4 100644 |
--- a/remoting/host/chromoting_host.h |
+++ b/remoting/host/chromoting_host.h |
@@ -189,6 +189,15 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>, |
HostKeyPair key_pair_; |
bool allow_nat_traversal_; |
+ // TODO(lambroslambrou): The following is a temporary fix for Me2Me |
+ // (crbug.com/105995), pending the AuthenticatorFactory work. |
+ // Cache the shared secret, in case SetSharedSecret() is called before the |
+ // session manager has been created. |
+ // The |have_shared_secret_| flag is to distinguish SetSharedSecret() not |
+ // being called at all, from being called with an empty string. |
+ std::string shared_secret_; |
+ bool have_shared_secret_; |
+ |
// Connection objects. |
scoped_ptr<SignalStrategy> signal_strategy_; |
std::string local_jid_; |