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 fc77c859f0276edb3a77315e93e5a35bb3c6d7a8..094cb184bddf6d7ec1a6972bd50b8e1dea8f78a2 100644 |
--- a/content/browser/service_worker/service_worker_info.h |
+++ b/content/browser/service_worker/service_worker_info.h |
@@ -16,6 +16,16 @@ namespace content { |
struct CONTENT_EXPORT ServiceWorkerVersionInfo { |
public: |
+ struct ClientInfo { |
+ public: |
+ ClientInfo(); |
+ ClientInfo(int process_id, int route_id, ServiceWorkerProviderType type); |
+ ~ClientInfo(); |
+ int process_id; |
+ int route_id; |
+ ServiceWorkerProviderType type; |
+ }; |
+ |
ServiceWorkerVersionInfo(); |
ServiceWorkerVersionInfo(ServiceWorkerVersion::RunningStatus running_status, |
ServiceWorkerVersion::Status status, |
@@ -37,6 +47,7 @@ struct CONTENT_EXPORT ServiceWorkerVersionInfo { |
int devtools_agent_route_id; |
base::Time script_response_time; |
base::Time script_last_modified; |
+ std::map<std::string, ClientInfo> clients; |
}; |
struct CONTENT_EXPORT ServiceWorkerRegistrationInfo { |