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..dd456be12c963adf431aa7eeeba014c05a36851d 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 frame_id, int shared_worker_route_id); |
+ ~ClientInfo(); |
+ int process_id; |
+ int frame_id; |
+ int shared_worker_route_id; |
nhiroki
2015/06/12 05:48:02
Why don't you merge frame_id and shared_worker_rou
horo
2015/06/12 08:45:43
Done.
|
+ }; |
+ |
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 { |