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 6191a4760e264b44d1247d25d9e4ca9d2c857618..8d3dc2964908a7edcc1448a692cfde4544ff7976 100644 |
--- a/content/common/service_worker/service_worker_types.h |
+++ b/content/common/service_worker/service_worker_types.h |
@@ -48,6 +48,7 @@ static const int64 kInvalidServiceWorkerVersionId = -1; |
static const int64 kInvalidServiceWorkerResourceId = -1; |
static const int64 kInvalidServiceWorkerResponseId = -1; |
static const int kInvalidEmbeddedWorkerThreadId = -1; |
+static const int kInvalidServiceWorkerClientId = 0; |
enum FetchRequestMode { |
FETCH_REQUEST_MODE_SAME_ORIGIN, |
@@ -204,14 +205,6 @@ class ChangedVersionAttributesMask { |
int changed_; |
}; |
-struct ServiceWorkerClientInfo { |
- int client_id; |
- blink::WebPageVisibilityState page_visibility_state; |
- bool is_focused; |
- GURL url; |
- RequestContextFrameType frame_type; |
-}; |
- |
} // namespace content |
#endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |