summaryrefslogtreecommitdiffstats
path: root/content/browser/loader/resource_dispatcher_host_impl.cc
diff options
context:
space:
mode:
authornick <nick@chromium.org>2015-06-09 11:05:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-09 18:07:12 +0000
commita23a06d63f69cbc7299564847b7b5ce339c513b2 (patch)
treeb52b80188bf81db696afd15ecfdcd79ea7441530 /content/browser/loader/resource_dispatcher_host_impl.cc
parent6ee6fd6efabf8b87324d0b233ea2332c4a0e1642 (diff)
downloadchromium_src-a23a06d63f69cbc7299564847b7b5ce339c513b2.zip
chromium_src-a23a06d63f69cbc7299564847b7b5ce339c513b2.tar.gz
chromium_src-a23a06d63f69cbc7299564847b7b5ce339c513b2.tar.bz2
Remove --enable-strict-site-isolation from code and comments.
--site-per-process is the new hotness. BUG=497306 Review URL: https://codereview.chromium.org/1144253003 Cr-Commit-Position: refs/heads/master@{#333525}
Diffstat (limited to 'content/browser/loader/resource_dispatcher_host_impl.cc')
-rw-r--r--content/browser/loader/resource_dispatcher_host_impl.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index baaf2f9..c69bcdb 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -2352,11 +2352,6 @@ int ResourceDispatcherHostImpl::BuildLoadFlagsForRequest(
ChildProcessSecurityPolicyImpl* policy =
ChildProcessSecurityPolicyImpl::GetInstance();
- if (!policy->CanSendCookiesForOrigin(child_id, request_data.url)) {
- load_flags |= (net::LOAD_DO_NOT_SEND_COOKIES |
- net::LOAD_DO_NOT_SEND_AUTH_DATA |
- net::LOAD_DO_NOT_SAVE_COOKIES);
- }
// Raw headers are sensitive, as they include Cookie/Set-Cookie, so only
// allow requesting them if requester has ReadRawCookies permission.