Index: content/browser/service_worker/service_worker_context_wrapper.cc |
diff --git a/content/browser/service_worker/service_worker_context_wrapper.cc b/content/browser/service_worker/service_worker_context_wrapper.cc |
index b5cda101b9f6508311da5d4cdb97b36a18925024..522bab07f11e0a91cfbf8faab658523d09f12902 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.cc |
+++ b/content/browser/service_worker/service_worker_context_wrapper.cc |
@@ -30,6 +30,7 @@ |
#include "content/common/service_worker/service_worker_utils.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/browser_thread.h" |
+#include "mojo/public/cpp/bindings/strong_associated_binding.h" |
#include "net/base/url_util.h" |
#include "storage/browser/quota/quota_manager_proxy.h" |
#include "storage/browser/quota/special_storage_policy.h" |
@@ -799,6 +800,16 @@ void ServiceWorkerContextWrapper::DidDeleteAndStartOver( |
&ServiceWorkerContextObserver::OnStorageWiped); |
} |
+void ServiceWorkerContextWrapper::BindWorkerFetchContext( |
+ int render_process_id, |
+ int service_worker_provider_id, |
+ mojom::ServiceWorkerClientAssociatedPtrInfo client_ptr_info) { |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
+ context()->BindWorkerFetchContext(render_process_id, |
+ service_worker_provider_id, |
+ std::move(client_ptr_info)); |
+} |
+ |
ServiceWorkerContextCore* ServiceWorkerContextWrapper::context() { |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
return context_core_.get(); |