| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_INFO_CLIENT_H_ | 5 #ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_CLIENT_INFO_H_ |
| 6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_INFO_CLIENT_H_ | 6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_CLIENT_INFO_H_ |
| 7 | 7 |
| 8 #include "content/public/common/request_context_frame_type.h" | 8 #include "content/public/common/request_context_frame_type.h" |
| 9 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 9 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
| 10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 // This class holds the information related to a service worker window client. | 14 // This class holds the information related to a service worker window client. |
| 15 // It is the content/ equivalent of Blink's WebServiceWorkerClientInfo. | 15 // It is the content/ equivalent of Blink's WebServiceWorkerClientInfo. |
| 16 // An instance can be created empty or can be filed with the expected | 16 // An instance can be created empty or can be filed with the expected |
| (...skipping 15 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 int client_id; | 33 int client_id; |
| 34 blink::WebPageVisibilityState page_visibility_state; | 34 blink::WebPageVisibilityState page_visibility_state; |
| 35 bool is_focused; | 35 bool is_focused; |
| 36 GURL url; | 36 GURL url; |
| 37 RequestContextFrameType frame_type; | 37 RequestContextFrameType frame_type; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace content | 40 } // namespace content |
| 41 | 41 |
| 42 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_INFO_CLIENT_H_ | 42 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_CLIENT_INFO_H_ |
| OLD | NEW |