summaryrefslogtreecommitdiffstats
path: root/google_apis/gaia/gaia_auth_fetcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'google_apis/gaia/gaia_auth_fetcher.h')
-rw-r--r--google_apis/gaia/gaia_auth_fetcher.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/google_apis/gaia/gaia_auth_fetcher.h b/google_apis/gaia/gaia_auth_fetcher.h
index 6a92a21..ced2601 100644
--- a/google_apis/gaia/gaia_auth_fetcher.h
+++ b/google_apis/gaia/gaia_auth_fetcher.h
@@ -228,6 +228,9 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate {
void SetPendingFetch(bool pending_fetch);
+ // Set the headers to use during the Logout call.
+ void SetLogoutHeaders(const std::string& headers);
+
private:
// The format of the POST body for IssueAuthToken.
static const char kIssueAuthTokenFormat[];
@@ -430,6 +433,9 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate {
std::string requested_service_;
bool fetch_pending_;
+ // Headers used during the Logout call.
+ std::string logout_headers_;
+
friend class GaiaAuthFetcherTest;
FRIEND_TEST_ALL_PREFIXES(GaiaAuthFetcherTest, CaptchaParse);
FRIEND_TEST_ALL_PREFIXES(GaiaAuthFetcherTest, AccountDeletedError);