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

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

Issue 1149383004: [3/5 chromium] Shows the clients which are controlled by ServiceWorker in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated dcheng's comment Created 5 years, 6 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 8c5f774abd0cf86e426d5bd9a1cb5d0f78312cb8..c514868112973ccccd8980f5cfa47eaa6ebce8dc 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -9,6 +9,19 @@
namespace content {
+ServiceWorkerVersionInfo::ClientInfo::ClientInfo()
+ : ClientInfo(-1, MSG_ROUTING_NONE, SERVICE_WORKER_PROVIDER_UNKNOWN) {
+}
+
+ServiceWorkerVersionInfo::ClientInfo::ClientInfo(int process_id,
+ int route_id,
+ ServiceWorkerProviderType type)
+ : process_id(process_id), route_id(route_id), type(type) {
+}
+
+ServiceWorkerVersionInfo::ClientInfo::~ClientInfo() {
+}
+
ServiceWorkerVersionInfo::ServiceWorkerVersionInfo()
: running_status(ServiceWorkerVersion::STOPPED),
status(ServiceWorkerVersion::NEW),

Powered by Google App Engine
This is Rietveld 408576698