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

Unified Diff: content/child/service_worker/web_service_worker_provider_impl.cc

Issue 1175823002: ServiceWorker: Implement ServiceWorkerRegistration.update() (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trivial fix Created 5 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/child/service_worker/web_service_worker_provider_impl.cc
diff --git a/content/child/service_worker/web_service_worker_provider_impl.cc b/content/child/service_worker/web_service_worker_provider_impl.cc
index 96185668c0ec5f38b6cadf53376601a33708e30e..8c9855b3c3d639d1622122baa3e2fe5b2791c3aa 100644
--- a/content/child/service_worker/web_service_worker_provider_impl.cc
+++ b/content/child/service_worker/web_service_worker_provider_impl.cc
@@ -76,6 +76,10 @@ void WebServiceWorkerProviderImpl::getRegistrationForReady(
GetDispatcher()->GetRegistrationForReady(context_->provider_id(), callbacks);
}
+int WebServiceWorkerProviderImpl::provider_id() const {
+ return context_->provider_id();
+}
+
void WebServiceWorkerProviderImpl::RemoveProviderClient() {
// Remove the provider client, but only if the dispatcher is still there.
// (For cleanup path we don't need to bother creating a new dispatcher)

Powered by Google App Engine
This is Rietveld 408576698