Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: content/common/service_worker/service_worker_types.h

Issue 1221643014: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Chromium 2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/common/service_worker/service_worker_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698