Index: content/browser/frame_host/navigation_request.h |
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h |
index 31a986257042b3b0b93b7173230c3a309b9add0a..bdd30b979790088bc0ec24ed5cddd3775af4d887 100644 |
--- a/content/browser/frame_host/navigation_request.h |
+++ b/content/browser/frame_host/navigation_request.h |
@@ -15,6 +15,7 @@ |
#include "content/common/frame_message_enums.h" |
#include "content/common/navigation_params.h" |
#include "content/public/browser/navigation_throttle.h" |
+#include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
namespace content { |
@@ -191,6 +192,8 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
// be destroyed after this call. |
void CommitNavigation(); |
+ void upgradeInsecureRequest(); |
+ |
FrameTreeNode* frame_tree_node_; |
// Initialized on creation of the NavigationRequest. Sent to the renderer when |
@@ -231,6 +234,8 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
scoped_refptr<ResourceResponse> response_; |
std::unique_ptr<StreamHandle> body_; |
+ blink::WebInsecureRequestPolicy insecure_request_policy; |
+ |
DISALLOW_COPY_AND_ASSIGN(NavigationRequest); |
}; |