1diff --git net/base/load_flags_list.h net/base/load_flags_list.h 2index 96d1a51ec107..e8120a818b1f 100644 3--- net/base/load_flags_list.h 4+++ net/base/load_flags_list.h 5@@ -101,3 +101,6 @@ LOAD_FLAG(RESTRICTED_PREFETCH, 1 << 15) 6 // is considered privileged, and therefore this flag must only be set from a 7 // trusted process. 8 LOAD_FLAG(CAN_USE_RESTRICTED_PREFETCH, 1 << 16) 9+ 10+// This load will not send any cookies. For CEF usage. 11+LOAD_FLAG(DO_NOT_SEND_COOKIES, 1 << 17) 12diff --git net/url_request/url_request_http_job.cc net/url_request/url_request_http_job.cc 13index 393b89a5624a..ba6e79471c7b 100644 14--- net/url_request/url_request_http_job.cc 15+++ net/url_request/url_request_http_job.cc 16@@ -549,7 +549,8 @@ void URLRequestHttpJob::AddCookieHeaderAndStart() { 17 // Read cookies whenever allow_credentials() is true, even if the PrivacyMode 18 // is being overridden by NetworkDelegate and will eventually block them, as 19 // blocked cookies still need to be logged in that case. 20- if (cookie_store && request_->allow_credentials()) { 21+ if (cookie_store && request_->allow_credentials() && 22+ !(request_info_.load_flags & LOAD_DO_NOT_SEND_COOKIES)) { 23 bool force_ignore_site_for_cookies = 24 request_->force_ignore_site_for_cookies(); 25 if (cookie_store->cookie_access_delegate() && 26diff --git services/network/public/cpp/resource_request.cc services/network/public/cpp/resource_request.cc 27index f1bc5816aad1..dfe54f1169e8 100644 28--- services/network/public/cpp/resource_request.cc 29+++ services/network/public/cpp/resource_request.cc 30@@ -233,7 +233,8 @@ bool ResourceRequest::EqualsForTesting(const ResourceRequest& request) const { 31 } 32 33 bool ResourceRequest::SendsCookies() const { 34- return credentials_mode == network::mojom::CredentialsMode::kInclude; 35+ return credentials_mode == network::mojom::CredentialsMode::kInclude && 36+ !(load_flags & net::LOAD_DO_NOT_SEND_COOKIES); 37 } 38 39 bool ResourceRequest::SavesCookies() const { 40