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

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: Fix compile error on linux 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
Index: chrome/common/net/gaia/gaia_auth_consumer.h
===================================================================
--- chrome/common/net/gaia/gaia_auth_consumer.h (revision 123466)
+++ 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;
Andrew T Wilson (Slow) 2012/02/27 18:00:41 Why is this in |net| but nothing else in this file
Roger Tawa OOO till Jul 10th 2012/02/29 18:46:53 This is essentially a forward declare. I moved th
Andrew T Wilson (Slow) 2012/02/29 21:57:17 Yeah, I guess I'm just thinking that nothing break
Roger Tawa OOO till Jul 10th 2012/03/01 17:55:48 I investigated simply declaring a new string vecto
+}
+
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') | chrome/common/net/gaia/gaia_auth_fetcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698