summaryrefslogtreecommitdiffstats
path: root/src/core/net/plugin_response_interceptor_url_loader_throttle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/net/plugin_response_interceptor_url_loader_throttle.h')
-rw-r--r--src/core/net/plugin_response_interceptor_url_loader_throttle.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/net/plugin_response_interceptor_url_loader_throttle.h b/src/core/net/plugin_response_interceptor_url_loader_throttle.h
index 205ab25e6..0e10b2124 100644
--- a/src/core/net/plugin_response_interceptor_url_loader_throttle.h
+++ b/src/core/net/plugin_response_interceptor_url_loader_throttle.h
@@ -42,6 +42,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "services/network/public/mojom/fetch_api.mojom-shared.h"
#include "third_party/blink/public/common/loader/url_loader_throttle.h"
namespace content {
@@ -54,7 +55,8 @@ class PluginResponseInterceptorURLLoaderThrottle : public blink::URLLoaderThrott
{
public:
PluginResponseInterceptorURLLoaderThrottle(content::BrowserContext *browser_context,
- int resource_type, int frame_tree_node_id);
+ network::mojom::RequestDestination request_destination,
+ int frame_tree_node_id);
~PluginResponseInterceptorURLLoaderThrottle() override = default;
private:
@@ -66,7 +68,7 @@ private:
void ResumeLoad();
content::BrowserContext *m_browser_context = nullptr;
- const int m_resource_type;
+ const network::mojom::RequestDestination m_request_destination;
const int m_frame_tree_node_id;
base::WeakPtrFactory<PluginResponseInterceptorURLLoaderThrottle>