Chromium Code Reviews| Index: content/common/service_worker/service_worker_client_info.h |
| diff --git a/content/common/service_worker/service_worker_client_info.h b/content/common/service_worker/service_worker_client_info.h |
| index e21aa1552f955afadd17e1dc80b25b33be7e1165..7bb5eba2fd87ba88928a0b6f6f5a62c2bf9bf91d 100644 |
| --- a/content/common/service_worker/service_worker_client_info.h |
| +++ b/content/common/service_worker/service_worker_client_info.h |
| @@ -5,6 +5,7 @@ |
| #ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_CLIENT_INFO_H_ |
| #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_CLIENT_INFO_H_ |
| +#include "base/time/time.h" |
| #include "content/public/common/request_context_frame_type.h" |
| #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
| #include "third_party/WebKit/public/platform/WebServiceWorkerClientType.h" |
| @@ -23,6 +24,7 @@ struct ServiceWorkerClientInfo { |
| bool is_focused, |
| const GURL& url, |
| RequestContextFrameType frame_type, |
| + base::TimeTicks last_active_time, |
|
nhiroki
2015/08/19 07:42:33
nit: last_focus_time
jeremyarcher
2015/08/19 07:50:57
Done.
|
| blink::WebServiceWorkerClientType client_type); |
| // Returns whether the instance is empty. |
| @@ -38,6 +40,7 @@ struct ServiceWorkerClientInfo { |
| GURL url; |
| RequestContextFrameType frame_type; |
| blink::WebServiceWorkerClientType client_type; |
| + base::TimeTicks last_active_time; |
|
nhiroki
2015/08/19 07:42:33
ditto
jeremyarcher
2015/08/19 07:50:57
Done.
|
| }; |
| } // namespace content |