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

Unified Diff: content/browser/service_worker/service_worker_provider_host.cc

Issue 369013002: ServiceWorker: Support navigator.serviceWorker.installing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | content/child/service_worker/service_worker_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_provider_host.cc
diff --git a/content/browser/service_worker/service_worker_provider_host.cc b/content/browser/service_worker/service_worker_provider_host.cc
index aa66d8101d2fdd4fb11e2f9f593df3f5ba1565fe..e30a6b2d60c29bbef230ca8f36846b69497ea6a3 100644
--- a/content/browser/service_worker/service_worker_provider_host.cc
+++ b/content/browser/service_worker/service_worker_provider_host.cc
@@ -96,8 +96,8 @@ void ServiceWorkerProviderHost::SetInstallingVersion(
if (!dispatcher_host_)
return; // Could be NULL in some tests.
- // TODO(michaeln,nhiroki): Send SetInstallingServiceWorker msg once the
- // renderer side understands the .installing attribute value.
+ dispatcher_host_->Send(new ServiceWorkerMsg_SetInstallingServiceWorker(
+ kDocumentMainThreadId, provider_id(), CreateHandleAndPass(version)));
}
void ServiceWorkerProviderHost::UnsetVersion(ServiceWorkerVersion* version) {
« no previous file with comments | « no previous file | content/child/service_worker/service_worker_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698