OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ | 5 #ifndef CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ |
6 #define CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ | 6 #define CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 virtual void OnOAuthWrapBridgeFailure(const std::string& service_scope, | 30 virtual void OnOAuthWrapBridgeFailure(const std::string& service_scope, |
31 const GoogleServiceAuthError& error) {} | 31 const GoogleServiceAuthError& error) {} |
32 | 32 |
33 virtual void OnUserInfoSuccess(const std::string& email) {} | 33 virtual void OnUserInfoSuccess(const std::string& email) {} |
34 virtual void OnUserInfoFailure(const GoogleServiceAuthError& error) {} | 34 virtual void OnUserInfoFailure(const GoogleServiceAuthError& error) {} |
35 | 35 |
36 virtual void OnOAuthLoginSuccess(const std::string& sid, | 36 virtual void OnOAuthLoginSuccess(const std::string& sid, |
37 const std::string& lsid, | 37 const std::string& lsid, |
38 const std::string& auth) {} | 38 const std::string& auth) {} |
39 virtual void OnOAuthLoginFailure(const GoogleServiceAuthError& error) {} | 39 virtual void OnOAuthLoginFailure(const GoogleServiceAuthError& error) {} |
| 40 |
| 41 virtual void OnOAuthRevokeTokenSuccess() {} |
| 42 virtual void OnOAuthRevokeTokenFailure(const GoogleServiceAuthError& error) {} |
40 }; | 43 }; |
41 | 44 |
42 #endif // CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ | 45 #endif // CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ |
OLD | NEW |