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 178adf5a1ceca4d0c48dc2d58a71f7590cb04e3e..1d09950af42642385034e911752bc11dcb5ef79b 100644 |
--- a/content/child/service_worker/service_worker_network_provider.h |
+++ b/content/child/service_worker/service_worker_network_provider.h |
@@ -15,7 +15,11 @@ |
#include "base/supports_user_data.h" |
#include "content/common/content_export.h" |
#include "content/common/service_worker/service_worker_types.h" |
-#include "third_party/WebKit/public/web/WebSandboxFlags.h" |
+ |
+namespace blink { |
+class WebDataSource; |
+class WebLocalFrame; |
+} // namespace blink |
namespace content { |
@@ -46,15 +50,18 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider |
static std::unique_ptr<ServiceWorkerNetworkProvider> CreateForNavigation( |
int route_id, |
const RequestNavigationParams& request_params, |
- blink::WebSandboxFlags sandbox_flags, |
+ blink::WebLocalFrame* frame, |
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); |
- 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); |
ServiceWorkerNetworkProvider(); |
~ServiceWorkerNetworkProvider() override; |