Commit 9831aeef authored by morrita@chromium.org's avatar morrita@chromium.org

Get rid of allowCookies() usage.

It represents the same state of allowStoredCredentials()
thus removed to kill the redundancy.
This is a part of a two sided change. The API will be removed
once this has landed.

BUG=none
TEST=none
R=avi@chromium.org, darin@chromium.org, jochen@chormium.org

Review URL: https://codereview.chromium.org/189933002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255999 0039d316-1c4b-4281-b951-d872f2087c98
parent f524877f
......@@ -360,7 +360,7 @@ void WebURLLoaderImpl::Context::Start(
if (request.reportRawHeaders())
load_flags |= net::LOAD_REPORT_RAW_HEADERS;
if (!request.allowCookies() || !request.allowStoredCredentials()) {
if (!request.allowStoredCredentials()) {
load_flags |= net::LOAD_DO_NOT_SAVE_COOKIES;
load_flags |= net::LOAD_DO_NOT_SEND_COOKIES;
}
......
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