Index: content/common/service_worker/service_worker_types.h |
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h |
index 2921680c3a213c1ee470d86fe101812e5e3eadd6..96657505b1d777dc0e9fb43f7b4d8d28ab118d5a 100644 |
--- a/content/common/service_worker/service_worker_types.h |
+++ b/content/common/service_worker/service_worker_types.h |
@@ -13,6 +13,7 @@ |
#include "content/common/content_export.h" |
#include "content/public/common/request_context_frame_type.h" |
#include "content/public/common/request_context_type.h" |
+#include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
#include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h" |
#include "third_party/WebKit/public/platform/WebServiceWorkerState.h" |
#include "url/gurl.h" |
@@ -199,7 +200,7 @@ class ChangedVersionAttributesMask { |
struct ServiceWorkerClientInfo { |
int client_id; |
- std::string visibility_state; |
+ blink::WebPageVisibilityState page_visibility_state; |
bool is_focused; |
GURL url; |
RequestContextFrameType frame_type; |