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

Unified Diff: content/browser/service_worker/service_worker_context_core.h

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_context_core.h
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
index 595fcd94dc7e414e74828ff95a501d89dac16dbe..b3f97ae28f39b843e3568334985563028360ac85 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -151,6 +151,9 @@ class CONTENT_EXPORT ServiceWorkerContextCore
void AddLiveVersion(ServiceWorkerVersion* version);
void RemoveLiveVersion(int64 registration_id);
+ std::vector<ServiceWorkerRegistrationInfo> GetAllLiveRegistrationInfo();
+ std::vector<ServiceWorkerVersionInfo> GetAllLiveVersionInfo();
+
// Returns new context-local unique ID for ServiceWorkerHandle.
int GetNewServiceWorkerHandleId();

Powered by Google App Engine
This is Rietveld 408576698