Index: content/child/service_worker/service_worker_network_provider.h |
diff --git a/content/child/service_worker/service_worker_network_provider.h b/content/child/service_worker/service_worker_network_provider.h |
index 1d09950af42642385034e911752bc11dcb5ef79b..178adf5a1ceca4d0c48dc2d58a71f7590cb04e3e 100644 |
--- a/content/child/service_worker/service_worker_network_provider.h |
+++ b/content/child/service_worker/service_worker_network_provider.h |
@@ -15,11 +15,7 @@ |
#include "base/supports_user_data.h" |
#include "content/common/content_export.h" |
#include "content/common/service_worker/service_worker_types.h" |
- |
-namespace blink { |
-class WebDataSource; |
-class WebLocalFrame; |
-} // namespace blink |
+#include "third_party/WebKit/public/web/WebSandboxFlags.h" |
namespace content { |
@@ -50,18 +46,15 @@ |
static std::unique_ptr<ServiceWorkerNetworkProvider> CreateForNavigation( |
int route_id, |
const RequestNavigationParams& request_params, |
- blink::WebLocalFrame* frame, |
+ blink::WebSandboxFlags sandbox_flags, |
bool content_initiated); |
// PlzNavigate |
// The |browser_provider_id| is initialized by the browser for navigations. |
ServiceWorkerNetworkProvider(int route_id, |
ServiceWorkerProviderType type, |
- int browser_provider_id, |
- bool is_parent_frame_secure); |
- ServiceWorkerNetworkProvider(int route_id, |
- ServiceWorkerProviderType type, |
- bool is_parent_frame_secure); |
+ int browser_provider_id); |
+ ServiceWorkerNetworkProvider(int route_id, ServiceWorkerProviderType type); |
ServiceWorkerNetworkProvider(); |
~ServiceWorkerNetworkProvider() override; |