| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OnClientOAuthSuccess(const ClientOAuthResult& result) {} | 72 virtual void OnClientOAuthSuccess(const ClientOAuthResult& result) {} |
| 73 virtual void OnClientOAuthFailure(const GoogleServiceAuthError& error) {} | 73 virtual void OnClientOAuthFailure(const GoogleServiceAuthError& error) {} |
| 74 | 74 |
| 75 virtual void OnClientOAuthCodeSuccess(const std::string& auth_code) {} | |
| 76 virtual void OnClientOAuthCodeFailure(const GoogleServiceAuthError& error) {} | |
| 77 | |
| 78 virtual void OnOAuth2RevokeTokenCompleted() {} | 75 virtual void OnOAuth2RevokeTokenCompleted() {} |
| 79 | 76 |
| 80 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} | 77 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} |
| 81 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} | 78 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} |
| 82 | 79 |
| 83 virtual void OnUberAuthTokenSuccess(const std::string& token) {} | 80 virtual void OnUberAuthTokenSuccess(const std::string& token) {} |
| 84 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} | 81 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} |
| 85 | 82 |
| 86 virtual void OnMergeSessionSuccess(const std::string& data) {} | 83 virtual void OnMergeSessionSuccess(const std::string& data) {} |
| 87 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} | 84 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} |
| 88 | 85 |
| 89 virtual void OnListAccountsSuccess(const std::string& data) {} | 86 virtual void OnListAccountsSuccess(const std::string& data) {} |
| 90 virtual void OnListAccountsFailure(const GoogleServiceAuthError& error) {} | 87 virtual void OnListAccountsFailure(const GoogleServiceAuthError& error) {} |
| 91 }; | 88 }; |
| 92 | 89 |
| 93 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 90 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
| OLD | NEW |