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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 8764012: Set empty shared secret for Me2Me hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « remoting/host/chromoting_host.cc ('k') | remoting/host/simple_host_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index f55f9c8a75967d884ae46ab514f378b97f0e0026..2ba593faa364839b2eb32827001ddf806f545f23 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -105,6 +105,14 @@ class HostProcess {
// Run the ChromotingHost until the shutdown task is executed.
host_->Start();
+
+ // Set an empty shared-secret for Me2Me.
+ // TODO(lambroslambrou): This is a temporary fix, pending a Me2Me-specific
+ // AuthenticatorFactory.
Sergey Ulanov 2011/12/01 01:34:01 please reference crbug.com/105214 here.
+ context.network_message_loop()->PostTask(
+ FROM_HERE, base::Bind(&ChromotingHost::SetSharedSecret, host_.get(),
+ std::string()));
Sergey Ulanov 2011/12/01 01:34:01 "" - is more readable.
+
message_loop.MessageLoop::Run();
// And then stop the chromoting context.
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/simple_host_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698