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

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

Issue 304543002: Show the unregistered workers in chrome://serviceworker-internals and chrome://inspect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass live_registrations to chrome://inspect. Created 6 years, 7 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_storage.cc
diff --git a/content/browser/service_worker/service_worker_storage.cc b/content/browser/service_worker/service_worker_storage.cc
index ee64e0cecec86bd01091a37d437b38594db5345f..1f2a4856b30ebefd1baebc13484a6842ce6e1e3e 100644
--- a/content/browser/service_worker/service_worker_storage.cc
+++ b/content/browser/service_worker/service_worker_storage.cc
@@ -538,6 +538,7 @@ void ServiceWorkerStorage::DidGetAllRegistrations(
ServiceWorkerRegistrationInfo info;
info.pattern = it->scope;
info.script_url = it->script;
+ info.registration_id = it->registration_id;
info.active_version.is_null = false;
if (it->is_active)
info.active_version.status = ServiceWorkerVersion::ACTIVE;

Powered by Google App Engine
This is Rietveld 408576698