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

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

Issue 544023002: ServiceWorker: Remove navigator.serviceWorker.{installing,waiting,active} (Chromium) (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7115561287456dbb3324f307aed4ebf27f5e2680..5b6edbff80fa45c45105718a9d3b62e1a9ddf50d 100644
--- a/content/child/service_worker/web_service_worker_provider_impl.cc
+++ b/content/child/service_worker/web_service_worker_provider_impl.cc
@@ -47,21 +47,6 @@ void WebServiceWorkerProviderImpl::setClient(
// for more context)
GetDispatcher()->AddScriptClient(provider_id_, client);
- if (context_->installing_handle_id() != kInvalidServiceWorkerHandleId) {
- client->setInstalling(GetDispatcher()->GetServiceWorker(
- context_->installing()->info(), false));
- }
-
- if (context_->waiting_handle_id() != kInvalidServiceWorkerHandleId) {
- client->setWaiting(GetDispatcher()->GetServiceWorker(
- context_->waiting()->info(), false));
- }
-
- if (context_->active_handle_id() != kInvalidServiceWorkerHandleId) {
- client->setActive(GetDispatcher()->GetServiceWorker(
- context_->active()->info(), false));
- }
-
if (context_->controller_handle_id() != kInvalidServiceWorkerHandleId) {
client->setController(GetDispatcher()->GetServiceWorker(
context_->controller()->info(), false));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698