Index: content/common/resource_request.h |
diff --git a/content/common/resource_request.h b/content/common/resource_request.h |
index 6e07eef027849a744e25890f1ec1c32b3656d9d1..a4d1a1da66bd048508e237cabb01bbe8b0c6685c 100644 |
--- a/content/common/resource_request.h |
+++ b/content/common/resource_request.h |
@@ -18,6 +18,7 @@ |
#include "content/public/common/request_context_type.h" |
#include "content/public/common/resource_type.h" |
#include "net/base/request_priority.h" |
+#include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
#include "ui/base/page_transition_types.h" |
@@ -188,6 +189,10 @@ struct CONTENT_EXPORT ResourceRequest { |
// The response should be downloaded and stored in the network cache, but not |
// sent back to the renderer. |
bool download_to_network_cache_only = false; |
+ |
+ // Whether the insecure requests should be left as it is, upgraded or blocked. |
+ blink::WebInsecureRequestPolicy insecure_request_policy = |
+ blink::kLeaveInsecureRequestsAlone; |
}; |
} // namespace content |