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 OnOAuth2RevokeTokenCompleted() {} |
| 76 |
75 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} | 77 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} |
76 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} | 78 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} |
77 | 79 |
78 virtual void OnUberAuthTokenSuccess(const std::string& token) {} | 80 virtual void OnUberAuthTokenSuccess(const std::string& token) {} |
79 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} | 81 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} |
80 | 82 |
81 virtual void OnMergeSessionSuccess(const std::string& data) {} | 83 virtual void OnMergeSessionSuccess(const std::string& data) {} |
82 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} | 84 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} |
83 }; | 85 }; |
84 | 86 |
85 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 87 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
OLD | NEW |