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

Unified Diff: remoting/host/signaling_connector.h

Issue 10116040: Remoting daemon process to support unofficial client ID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compile error Created 8 years, 8 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/host/remoting_me2me_host.cc ('k') | remoting/host/signaling_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/signaling_connector.h
diff --git a/remoting/host/signaling_connector.h b/remoting/host/signaling_connector.h
index 17a8f6ae9041ce901f31f24914e6518cfbf56191..058ffc621ec4017585b10a9f86eee4fc36bd847a 100644
--- a/remoting/host/signaling_connector.h
+++ b/remoting/host/signaling_connector.h
@@ -31,11 +31,21 @@ class SignalingConnector
public net::NetworkChangeNotifier::IPAddressObserver,
public GaiaOAuthClient::Delegate {
public:
+ // This structure contains information required to perform
+ // authentication to OAuth2.
struct OAuthCredentials {
OAuthCredentials(const std::string& login_value,
- const std::string& refresh_token_value);
+ const std::string& refresh_token_value,
+ const OAuthClientInfo& client_info);
+
+ // The user's account name (i.e. their email address).
std::string login;
+
+ // Token delegating authority to us to act as the user.
std::string refresh_token;
+
+ // Credentials identifying the application to OAuth.
+ OAuthClientInfo client_info;
};
// OAuth token is updated refreshed when |oauth_credentials| is
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/signaling_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698