Chromium Code Reviews| Index: remoting/host/signaling_connector.h |
| diff --git a/remoting/host/signaling_connector.h b/remoting/host/signaling_connector.h |
| index 227bf71fc32c67a25fb469351d1dc6622354cbd5..8b39ffd37f2b6d9760e8a2af28dfa9a480349194 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); |
| + |
| + // ID to identify the user. |
|
Wez
2012/04/20 22:29:46
nit: Suggest "The user's account name (i.e. their
|
| std::string login; |
| + |
| + // Secret to authenticate the user. |
| std::string refresh_token; |
|
Wez
2012/04/20 22:29:46
nit: Suggest "Token delegating authority to us to
|
| + |
| + // ID and secret to identify the client. |
|
Wez
2012/04/20 22:29:46
nit: Suggest "Credentials identifying the applicat
|
| + OAuthClientInfo client_info; |
| }; |
| // OAuth token is updated refreshed when |oauth_credentials| is |