| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 5 #ifndef GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
| 6 #define GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 6 #define GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual ~GaiaAuthConsumer() {} | 62 virtual ~GaiaAuthConsumer() {} |
| 63 | 63 |
| 64 virtual void OnClientLoginSuccess(const ClientLoginResult& result) {} | 64 virtual void OnClientLoginSuccess(const ClientLoginResult& result) {} |
| 65 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) {} | 65 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) {} |
| 66 | 66 |
| 67 virtual void OnIssueAuthTokenSuccess(const std::string& service, | 67 virtual void OnIssueAuthTokenSuccess(const std::string& service, |
| 68 const std::string& auth_token) {} | 68 const std::string& auth_token) {} |
| 69 virtual void OnIssueAuthTokenFailure(const std::string& service, | 69 virtual void OnIssueAuthTokenFailure(const std::string& service, |
| 70 const GoogleServiceAuthError& error) {} | 70 const GoogleServiceAuthError& error) {} |
| 71 | 71 |
| 72 virtual void OnClientOAuthCode(const std::string& auth_code) {} |
| 72 virtual void OnClientOAuthSuccess(const ClientOAuthResult& result) {} | 73 virtual void OnClientOAuthSuccess(const ClientOAuthResult& result) {} |
| 73 virtual void OnClientOAuthFailure(const GoogleServiceAuthError& error) {} | 74 virtual void OnClientOAuthFailure(const GoogleServiceAuthError& error) {} |
| 74 | 75 |
| 75 virtual void OnOAuth2RevokeTokenCompleted() {} | 76 virtual void OnOAuth2RevokeTokenCompleted() {} |
| 76 | 77 |
| 77 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} | 78 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} |
| 78 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} | 79 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} |
| 79 | 80 |
| 80 virtual void OnUberAuthTokenSuccess(const std::string& token) {} | 81 virtual void OnUberAuthTokenSuccess(const std::string& token) {} |
| 81 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} | 82 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} |
| (...skipping 12 matching lines...) Expand all Loading... |
| 94 const GoogleServiceAuthError& error) {} | 95 const GoogleServiceAuthError& error) {} |
| 95 | 96 |
| 96 virtual void OnListIdpSessionsSuccess(const std::string& login_hint) {} | 97 virtual void OnListIdpSessionsSuccess(const std::string& login_hint) {} |
| 97 virtual void OnListIdpSessionsError(const GoogleServiceAuthError& error) {} | 98 virtual void OnListIdpSessionsError(const GoogleServiceAuthError& error) {} |
| 98 | 99 |
| 99 virtual void OnGetTokenResponseSuccess(const ClientOAuthResult& result) {} | 100 virtual void OnGetTokenResponseSuccess(const ClientOAuthResult& result) {} |
| 100 virtual void OnGetTokenResponseError(const GoogleServiceAuthError& error) {} | 101 virtual void OnGetTokenResponseError(const GoogleServiceAuthError& error) {} |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 104 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
| OLD | NEW |