Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: content/child/request_extra_data.cc

Issue 2032653003: Limit foreign fetch to only intercept requests made from secure contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: properly initialize new ResourceRequest member Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_extra_data.cc
diff --git a/content/child/request_extra_data.cc b/content/child/request_extra_data.cc
index b26120bcabc090274d58b3984be567129f07d3db..be4d0359349b372b930328e1286cad67673c4d47 100644
--- a/content/child/request_extra_data.cc
+++ b/content/child/request_extra_data.cc
@@ -24,8 +24,8 @@ RequestExtraData::RequestExtraData()
transferred_request_request_id_(-1),
service_worker_provider_id_(kInvalidServiceWorkerProviderId),
originated_from_service_worker_(false),
- lofi_state_(LOFI_UNSPECIFIED) {
-}
+ lofi_state_(LOFI_UNSPECIFIED),
+ initiated_in_secure_context_(false) {}
RequestExtraData::~RequestExtraData() {
}
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698