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

Unified Diff: content/common/resource_request.h

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/common/resource_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/common/resource_request.h
index dfd196f280ce4626819580d8206fc20b830e5f2e..5679056eef063047b2de9f38b25b69d59a5f8c19 100644
--- a/content/common/resource_request.h
+++ b/content/common/resource_request.h
@@ -170,6 +170,9 @@ struct CONTENT_EXPORT ResourceRequest {
// access to the body of the response that has already been fetched by the
// browser.
GURL resource_body_stream_url;
+
+ // Wether or not the initiator of this request is a secure context.
+ bool initiated_in_secure_context = false;
};
} // namespace content
« no previous file with comments | « content/common/resource_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698