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

Unified Diff: content/browser/loader/navigation_resource_throttle.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
Index: content/browser/loader/navigation_resource_throttle.h
diff --git a/content/browser/loader/navigation_resource_throttle.h b/content/browser/loader/navigation_resource_throttle.h
index a9685e347c700988dae5236040be4e5ade03b319..62db1696223edf7345668803df24c3fe64da62ec 100644
--- a/content/browser/loader/navigation_resource_throttle.h
+++ b/content/browser/loader/navigation_resource_throttle.h
@@ -11,6 +11,7 @@
#include "content/public/browser/navigation_throttle.h"
#include "content/public/browser/resource_throttle.h"
#include "content/public/common/request_context_type.h"
+#include "third_party/WebKit/public/platform/WebMixedContentContextType.h"
namespace net {
class URLRequest;
@@ -27,7 +28,8 @@ class NavigationResourceThrottle : public ResourceThrottle {
NavigationResourceThrottle(
net::URLRequest* request,
ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate,
- RequestContextType request_context_type);
+ RequestContextType request_context_type,
+ blink::WebMixedContentContextType mixed_content_context_type);
~NavigationResourceThrottle() override;
// ResourceThrottle overrides:
@@ -56,6 +58,7 @@ class NavigationResourceThrottle : public ResourceThrottle {
net::URLRequest* request_;
ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate_;
RequestContextType request_context_type_;
+ blink::WebMixedContentContextType mixed_content_context_type_;
bool in_cross_site_transition_;
NavigationThrottle::ThrottleCheckResult on_transfer_done_result_;
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/loader/navigation_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698