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

Unified Diff: content/browser/service_worker/service_worker_info.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: 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_info.h
diff --git a/content/browser/service_worker/service_worker_info.h b/content/browser/service_worker/service_worker_info.h
index 9d1a617ad6c248c1d9bc41110a6c54d814efbdd9..47b1b94bebdc7b37a6e029dc7f2331aee89f6b4a 100644
--- a/content/browser/service_worker/service_worker_info.h
+++ b/content/browser/service_worker/service_worker_info.h
@@ -20,7 +20,8 @@ class CONTENT_EXPORT ServiceWorkerVersionInfo {
ServiceWorkerVersion::Status status,
int64 version_id,
int process_id,
- int thread_id);
+ int thread_id,
+ int devtools_agent_route_id);
~ServiceWorkerVersionInfo();
bool is_null;
@@ -29,6 +30,7 @@ class CONTENT_EXPORT ServiceWorkerVersionInfo {
int64 version_id;
int process_id;
int thread_id;
+ int devtools_agent_route_id;
};
class CONTENT_EXPORT ServiceWorkerRegistrationInfo {
@@ -37,12 +39,14 @@ class CONTENT_EXPORT ServiceWorkerRegistrationInfo {
ServiceWorkerRegistrationInfo(
const GURL& script_url,
const GURL& pattern,
+ int64 registration_id,
const ServiceWorkerVersionInfo& active_version,
const ServiceWorkerVersionInfo& pending_version);
~ServiceWorkerRegistrationInfo();
GURL script_url;
GURL pattern;
+ int64 registration_id;
ServiceWorkerVersionInfo active_version;
ServiceWorkerVersionInfo pending_version;
};

Powered by Google App Engine
This is Rietveld 408576698