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

Unified Diff: remoting/host/chromoting_host.h

Issue 8764012: Set empty shared secret for Me2Me hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 1 month 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
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 5faa00317cf7766e42b3b216317ef026f0ea2fc7..0490525365d9fccd708fd632fdcacc3fc2ece705 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -187,6 +187,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_;
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698