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

Unified Diff: content/child/request_info.h

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: 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
Index: content/child/request_info.h
diff --git a/content/child/request_info.h b/content/child/request_info.h
index a5e026f9709d95b179854e4020bf253531dee7e2..13c5a3a410f73c18262bd442b6d28b9534b449e3 100644
--- a/content/child/request_info.h
+++ b/content/child/request_info.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/WebReferrerPolicy.h"
#include "third_party/WebKit/public/platform/WebTaskRunner.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
@@ -128,6 +129,8 @@ struct CONTENT_EXPORT RequestInfo {
// the ResourceBody that has already been fetched by the browser process.
GURL resource_body_stream_url;
+ blink::WebInsecureRequestPolicy insecure_request_policy;
+
private:
DISALLOW_COPY_AND_ASSIGN(RequestInfo);
};

Powered by Google App Engine
This is Rietveld 408576698