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

Unified Diff: remoting/host/simple_host.h

Issue 2749004: Token-based authentication for chromoting. (Closed)
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/simple_client.cc ('k') | remoting/host/simple_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/simple_host.h
diff --git a/remoting/host/simple_host.h b/remoting/host/simple_host.h
index 760256a3afa0b8bd8edf7d9adfa1077af342530d..7f9227a8d40e7e825efaba936295b228e03e93c4 100644
--- a/remoting/host/simple_host.h
+++ b/remoting/host/simple_host.h
@@ -47,7 +47,7 @@ class SimpleHost : public base::RefCountedThreadSafe<SimpleHost>,
public ClientConnection::EventHandler,
public JingleClient::Callback {
public:
- SimpleHost(const std::string& username, const std::string& password,
+ SimpleHost(const std::string& username, const std::string& auth_token,
Capturer* capturer, Encoder* encoder, EventExecutor* executor);
// Run the host porcess. This method returns only after the message loop
@@ -96,7 +96,7 @@ class SimpleHost : public base::RefCountedThreadSafe<SimpleHost>,
base::Thread encode_thread_;
std::string username_;
- std::string password_;
+ std::string auth_token_;
// Capturer to be used by SessionManager. Once the SessionManager is
// constructed this is set to NULL.
« no previous file with comments | « remoting/client/simple_client.cc ('k') | remoting/host/simple_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698