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

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: 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 | « 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..65a32817bbad256b636e84b2b654cc7b49eee0bb 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 - crbug.com/105214.
+ context.network_message_loop()->PostTask(
+ FROM_HERE, base::Bind(&ChromotingHost::SetSharedSecret, host_.get(),
+ ""));
+
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