Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: content/browser/service_worker/service_worker_test_utils.h

Issue 2936623002: Implement dumb URLLoader{Factory} for ServiceWorker script loading (for try)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698