| Index: chrome/common/net/gaia/gaia_auth_consumer.h
|
| ===================================================================
|
| --- chrome/common/net/gaia/gaia_auth_consumer.h (revision 124404)
|
| +++ chrome/common/net/gaia/gaia_auth_consumer.h (working copy)
|
| @@ -8,9 +8,14 @@
|
|
|
| #include <string>
|
| #include <map>
|
| +#include <vector>
|
|
|
| class GoogleServiceAuthError;
|
|
|
| +namespace net {
|
| +typedef std::vector<std::string> ResponseCookies;
|
| +}
|
| +
|
| typedef std::map<std::string, std::string> UserInfoMap;
|
|
|
| // An interface that defines the callbacks for objects that
|
| @@ -53,7 +58,8 @@
|
| virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {}
|
| virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {}
|
|
|
| - virtual void OnTokenAuthSuccess(const std::string& data) {}
|
| + virtual void OnTokenAuthSuccess(const net::ResponseCookies& cookies,
|
| + const std::string& data) {}
|
| virtual void OnTokenAuthFailure(const GoogleServiceAuthError& error) {}
|
|
|
| virtual void OnUberAuthTokenSuccess(const std::string& token) {}
|
|
|