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

Unified Diff: google_apis/gaia/gaia_auth_fetcher.h

Issue 1522873002: Force Account Consistency off for Logout call on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | google_apis/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6a92a21efc6b521f5b0a72a866227d9057840249..ced26015f73e170d9d973a2dc9302698da2f1aed 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);
« no previous file with comments | « no previous file | google_apis/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698