OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ | 5 #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ |
6 #define CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ | 6 #define CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 virtual void OnIssueAuthTokenSuccess(const std::string& service, | 40 virtual void OnIssueAuthTokenSuccess(const std::string& service, |
41 const std::string& auth_token) {} | 41 const std::string& auth_token) {} |
42 virtual void OnIssueAuthTokenFailure(const std::string& service, | 42 virtual void OnIssueAuthTokenFailure(const std::string& service, |
43 const GoogleServiceAuthError& error) {} | 43 const GoogleServiceAuthError& error) {} |
44 | 44 |
45 virtual void OnGetUserInfoSuccess(const std::string& key, | 45 virtual void OnGetUserInfoSuccess(const std::string& key, |
46 const std::string& value) {} | 46 const std::string& value) {} |
47 virtual void OnGetUserInfoKeyNotFound(const std::string& key) {} | 47 virtual void OnGetUserInfoKeyNotFound(const std::string& key) {} |
48 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} | 48 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} |
| 49 |
| 50 virtual void OnTokenAuthSuccess(const std::string& data) {} |
| 51 virtual void OnTokenAuthFailure(const GoogleServiceAuthError& error) {} |
49 }; | 52 }; |
50 | 53 |
51 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ | 54 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ |
OLD | NEW |