Index: google_apis/gaia/gaia_auth_fetcher.h |
diff --git a/google_apis/gaia/gaia_auth_fetcher.h b/google_apis/gaia/gaia_auth_fetcher.h |
index 5021a534ce359eaa0a114ed9a3e92af3b18c0f81..0864f187cfb1ae445fc443501365b709f661c333 100644 |
--- a/google_apis/gaia/gaia_auth_fetcher.h |
+++ b/google_apis/gaia/gaia_auth_fetcher.h |
@@ -158,6 +158,9 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate { |
void StartOAuthLogin(const std::string& access_token, |
const std::string& service); |
+ // Starts a request to list the accounts in the GAIA cookie. |
+ void StartListAccounts(); |
+ |
// Implementation of net::URLFetcherDelegate |
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; |
@@ -253,6 +256,10 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate { |
const net::URLRequestStatus& status, |
int response_code); |
+ void OnListAccountsFetched(const std::string& data, |
+ const net::URLRequestStatus& status, |
+ int response_code); |
+ |
void OnGetUserInfoFetched(const std::string& data, |
const net::URLRequestStatus& status, |
int response_code); |
@@ -359,6 +366,7 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate { |
const GURL merge_session_gurl_; |
const GURL uberauth_token_gurl_; |
const GURL oauth_login_gurl_; |
+ const GURL list_accounts_gurl_; |
// While a fetch is going on: |
scoped_ptr<net::URLFetcher> fetcher_; |