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 CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ | 5 #ifndef GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
6 #define CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ | 6 #define GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
7 | 7 |
| 8 #include <map> |
8 #include <string> | 9 #include <string> |
9 #include <map> | |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 class GoogleServiceAuthError; | 12 class GoogleServiceAuthError; |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 typedef std::vector<std::string> ResponseCookies; | 15 typedef std::vector<std::string> ResponseCookies; |
16 } | 16 } |
17 | 17 |
18 typedef std::map<std::string, std::string> UserInfoMap; | 18 typedef std::map<std::string, std::string> UserInfoMap; |
19 | 19 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} | 75 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} |
76 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} | 76 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} |
77 | 77 |
78 virtual void OnUberAuthTokenSuccess(const std::string& token) {} | 78 virtual void OnUberAuthTokenSuccess(const std::string& token) {} |
79 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} | 79 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} |
80 | 80 |
81 virtual void OnMergeSessionSuccess(const std::string& data) {} | 81 virtual void OnMergeSessionSuccess(const std::string& data) {} |
82 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} | 82 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ | 85 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
OLD | NEW |