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

Unified Diff: remoting/client/host_connection.cc

Issue 2724010: Revert 49298 - Broke compile - Token-based authentication for chromoting.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 months 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/client/host_connection.h ('k') | remoting/client/simple_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/host_connection.cc
===================================================================
--- remoting/client/host_connection.cc (revision 49299)
+++ remoting/client/host_connection.cc (working copy)
@@ -4,8 +4,6 @@
#include "remoting/client/host_connection.h"
-#include "remoting/base/constants.h"
-
namespace remoting {
HostConnection::HostConnection(ProtocolDecoder* decoder,
@@ -18,10 +16,10 @@
}
void HostConnection::Connect(const std::string& username,
- const std::string& auth_token,
+ const std::string& password,
const std::string& host_jid) {
jingle_client_ = new JingleClient();
- jingle_client_->Init(username, auth_token, kChromotingTokenServiceName, this);
+ jingle_client_->Init(username, password, this);
jingle_channel_ = jingle_client_->Connect(host_jid, this);
}
« no previous file with comments | « remoting/client/host_connection.h ('k') | remoting/client/simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698