| 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..648f6581cae02edd4a313f8b48085d29195719a5 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 parent_frame_is_insecure);
|
| + ServiceWorkerNetworkProvider(int route_id,
|
| + ServiceWorkerProviderType type,
|
| + bool parent_frame_is_insecure);
|
| ServiceWorkerNetworkProvider();
|
| ~ServiceWorkerNetworkProvider() override;
|
|
|
|
|