Index: content/browser/service_worker/service_worker_test_utils.h |
diff --git a/content/browser/service_worker/service_worker_test_utils.h b/content/browser/service_worker/service_worker_test_utils.h |
index 2c9a08681db536de76f22171a7c6ca1760d60cee..6ac0e22812f3fd151319d4d78517c6b8bf78e369 100644 |
--- a/content/browser/service_worker/service_worker_test_utils.h |
+++ b/content/browser/service_worker/service_worker_test_utils.h |
@@ -18,9 +18,14 @@ |
namespace content { |
+namespace mojom { |
+class ServiceWorkerProviderClientInfo; |
+} // namespace mojom |
+ |
class ServiceWorkerContextCore; |
class ServiceWorkerDispatcherHost; |
class ServiceWorkerProviderHost; |
+class ServiceWorkerVersion; |
struct ServiceWorkerProviderHostInfo; |
template <typename Arg> |
@@ -58,6 +63,7 @@ class ServiceWorkerRemoteProviderEndpoint { |
~ServiceWorkerRemoteProviderEndpoint(); |
void BindWithProviderHostInfo(ServiceWorkerProviderHostInfo* info); |
+ void BindWithProviderClientInfo(mojom::ServiceWorkerProviderClientInfo* info); |
mojom::ServiceWorkerProviderHostAssociatedPtr* host_ptr() { |
return &host_ptr_; |
@@ -88,8 +94,8 @@ std::unique_ptr<ServiceWorkerProviderHost> CreateProviderHostForWindow( |
std::unique_ptr<ServiceWorkerProviderHost> |
CreateProviderHostForServiceWorkerContext( |
int process_id, |
- int provider_id, |
bool is_parent_frame_secure, |
+ ServiceWorkerVersion* hosted_version, |
base::WeakPtr<ServiceWorkerContextCore> context, |
ServiceWorkerRemoteProviderEndpoint* output_endpoint); |