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

Unified Diff: content/browser/service_worker/service_worker_registration.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: fix comment 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_registration.cc
diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc
index 1baeda7ca1a3ae11e6563a6ec8e82db356d8d3a9..b389a153217a2cad783924fac04c0fb18915ac33 100644
--- a/content/browser/service_worker/service_worker_registration.cc
+++ b/content/browser/service_worker/service_worker_registration.cc
@@ -36,6 +36,7 @@ ServiceWorkerRegistrationInfo ServiceWorkerRegistration::GetInfo() {
return ServiceWorkerRegistrationInfo(
script_url(),
pattern(),
+ registration_id_,
active_version_ ? active_version_->GetInfo() : ServiceWorkerVersionInfo(),
pending_version_ ? pending_version_->GetInfo()
: ServiceWorkerVersionInfo());

Powered by Google App Engine
This is Rietveld 408576698