Commit 974a148d authored by rhalavati's avatar rhalavati Committed by Commit bot

Cookies and AUTH disabled for template_url_fetcher.

Following discussions in https://codereview.chromium.org/2711833003,
cookies and auth are disabled for network request of
template_url_fetcher.

BUG=

Review-Url: https://codereview.chromium.org/2717323002
Cr-Commit-Position: refs/heads/master@{#453202}
parent 0b389da8
......@@ -81,6 +81,9 @@ TemplateURLFetcher::RequestDelegate::RequestDelegate(
if (!url_fetcher_customize_callback.is_null())
url_fetcher_customize_callback.Run(url_fetcher_.get());
url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES |
net::LOAD_DO_NOT_SAVE_COOKIES |
net::LOAD_DO_NOT_SEND_AUTH_DATA);
url_fetcher_->SetRequestContext(fetcher->request_context_.get());
url_fetcher_->Start();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment