OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TYPES_H_ | 5 #ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |
6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ | 6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 uint64 blob_size; | 153 uint64 blob_size; |
154 GURL stream_url; | 154 GURL stream_url; |
155 }; | 155 }; |
156 | 156 |
157 // Represents initialization info for a WebServiceWorker object. | 157 // Represents initialization info for a WebServiceWorker object. |
158 struct CONTENT_EXPORT ServiceWorkerObjectInfo { | 158 struct CONTENT_EXPORT ServiceWorkerObjectInfo { |
159 ServiceWorkerObjectInfo(); | 159 ServiceWorkerObjectInfo(); |
160 int handle_id; | 160 int handle_id; |
161 GURL url; | 161 GURL url; |
162 blink::WebServiceWorkerState state; | 162 blink::WebServiceWorkerState state; |
163 int64 version_id; | 163 std::string version_uuid; |
164 }; | 164 }; |
165 | 165 |
166 struct CONTENT_EXPORT ServiceWorkerRegistrationObjectInfo { | 166 struct CONTENT_EXPORT ServiceWorkerRegistrationObjectInfo { |
167 ServiceWorkerRegistrationObjectInfo(); | 167 ServiceWorkerRegistrationObjectInfo(); |
168 int handle_id; | 168 int handle_id; |
169 GURL scope; | 169 GURL scope; |
170 int64 registration_id; | 170 int64 registration_id; |
171 }; | 171 }; |
172 | 172 |
173 struct ServiceWorkerVersionAttributes { | 173 struct ServiceWorkerVersionAttributes { |
(...skipping 28 matching lines...) Expand all Loading... |
202 | 202 |
203 struct ServiceWorkerClientQueryOptions { | 203 struct ServiceWorkerClientQueryOptions { |
204 ServiceWorkerClientQueryOptions(); | 204 ServiceWorkerClientQueryOptions(); |
205 blink::WebServiceWorkerClientType client_type; | 205 blink::WebServiceWorkerClientType client_type; |
206 bool include_uncontrolled; | 206 bool include_uncontrolled; |
207 }; | 207 }; |
208 | 208 |
209 } // namespace content | 209 } // namespace content |
210 | 210 |
211 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ | 211 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |
OLD | NEW |