Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4893)

Unified Diff: chrome/common/net/gaia/gaia_auth_consumer.h

Issue 9465018: Changes to the GAIA auth fetching to support one-click login. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed DCHECKS, fixed typo Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/net/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « no previous file | chrome/common/net/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698