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

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: Created 4 years, 7 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
Index: content/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/common/resource_request.h
index dfd196f280ce4626819580d8206fc20b830e5f2e..6338c99a656761655cf57832448cae964c26f7d5 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;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698