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

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

Issue 985663002: Implement ServiceWorkerRegistration related DevTools events [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 5 years, 9 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.cc
diff --git a/content/browser/service_worker/service_worker_info.cc b/content/browser/service_worker/service_worker_info.cc
index 1efe110c62fbb8ce5737f333a7ea98632b9e1dd3..b9a7407c5346ec911ea4fe6589a0bb9b6530761a 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -12,6 +12,7 @@ namespace content {
ServiceWorkerVersionInfo::ServiceWorkerVersionInfo()
: running_status(ServiceWorkerVersion::STOPPED),
status(ServiceWorkerVersion::NEW),
+ registration_id(kInvalidServiceWorkerRegistrationId),
version_id(kInvalidServiceWorkerVersionId),
process_id(-1),
thread_id(-1),
@@ -22,6 +23,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
ServiceWorkerVersion::RunningStatus running_status,
ServiceWorkerVersion::Status status,
const GURL& script_url,
+ int64 registration_id,
int64 version_id,
int process_id,
int thread_id,
@@ -29,6 +31,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
: running_status(running_status),
status(status),
script_url(script_url),
+ registration_id(registration_id),
version_id(version_id),
process_id(process_id),
thread_id(thread_id),
« no previous file with comments | « content/browser/service_worker/service_worker_info.h ('k') | content/browser/service_worker/service_worker_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698