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

Unified Diff: content/common/resource_request.h

Issue 2625633002: Supporting changes in preparation of browser side mixed content checking. (Closed)
Patch Set: Address code review comments. Created 3 years, 11 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 0f5651fadff17f0ce9650188809c70f0fa0950e0..a19d91279d75eff9234f50eab14fb2de9ab27b51 100644
--- a/content/common/resource_request.h
+++ b/content/common/resource_request.h
@@ -19,6 +19,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/WebMixedContentContextType.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
#include "ui/base/page_transition_types.h"
@@ -116,6 +117,10 @@ struct CONTENT_EXPORT ResourceRequest {
RequestContextType fetch_request_context_type =
REQUEST_CONTEXT_TYPE_UNSPECIFIED;
+ // The mixed content context type to be used for mixed content checks.
+ blink::WebMixedContentContextType fetch_mixed_content_context_type =
+ blink::WebMixedContentContextType::Blockable;
+
// The frame type passed to the ServiceWorker.
RequestContextFrameType fetch_frame_type =
REQUEST_CONTEXT_FRAME_TYPE_AUXILIARY;
« 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