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

Unified Diff: content/browser/loader/navigation_resource_throttle.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Fixed external handling order change for request start and redirects. Created 4 years, 5 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 45e9830e6fccc110816fe73ef66dec64aa473bb0..a4acbb2d642d0cef5f1ef63e81cbe829940aa4cc 100644
--- a/content/browser/loader/navigation_resource_throttle.h
+++ b/content/browser/loader/navigation_resource_throttle.h
@@ -9,6 +9,7 @@
#include "base/memory/weak_ptr.h"
#include "content/public/browser/navigation_throttle.h"
#include "content/public/browser/resource_throttle.h"
+#include "content/public/common/request_context_type.h"
namespace net {
class URLRequest;
@@ -25,7 +26,8 @@ class NavigationResourceThrottle : public ResourceThrottle {
public:
NavigationResourceThrottle(
net::URLRequest* request,
- ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate);
+ ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate,
+ RequestContextType fetch_request_context_type);
~NavigationResourceThrottle() override;
// ResourceThrottle overrides:
@@ -40,6 +42,7 @@ class NavigationResourceThrottle : public ResourceThrottle {
net::URLRequest* request_;
ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate_;
+ RequestContextType fetch_request_context_type_;
base::WeakPtrFactory<NavigationResourceThrottle> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(NavigationResourceThrottle);

Powered by Google App Engine
This is Rietveld 408576698