| Index: google_apis/gaia/gaia_auth_fetcher.cc
|
| diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc
|
| index 38e7802bed699f15b24bbe0a05c1362283111e85..be2e2e5c692357aceede26c1fa2ea2b4a51eeb5c 100644
|
| --- a/google_apis/gaia/gaia_auth_fetcher.cc
|
| +++ b/google_apis/gaia/gaia_auth_fetcher.cc
|
| @@ -195,6 +195,10 @@ void GaiaAuthFetcher::SetPendingFetch(bool pending_fetch) {
|
| fetch_pending_ = pending_fetch;
|
| }
|
|
|
| +void GaiaAuthFetcher::SetLogoutHeaders(const std::string& headers) {
|
| + logout_headers_ = headers;
|
| +}
|
| +
|
| void GaiaAuthFetcher::CancelRequest() {
|
| fetcher_.reset();
|
| fetch_pending_ = false;
|
| @@ -629,7 +633,7 @@ void GaiaAuthFetcher::StartListAccounts() {
|
| void GaiaAuthFetcher::StartLogOut() {
|
| DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
|
|
|
| - CreateAndStartGaiaFetcher(std::string(), std::string(), logout_gurl_,
|
| + CreateAndStartGaiaFetcher(std::string(), logout_headers_, logout_gurl_,
|
| net::LOAD_NORMAL);
|
| }
|
|
|
|
|