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); |