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

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

Issue 2023733002: service worker: Remove unused PROVIDER_FOR_SANDBOXED_IFRAME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « content/child/service_worker/service_worker_network_provider.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 SERVICE_WORKER_PROVIDER_UNKNOWN, 59 SERVICE_WORKER_PROVIDER_UNKNOWN,
60 60
61 // For ServiceWorker clients. 61 // For ServiceWorker clients.
62 SERVICE_WORKER_PROVIDER_FOR_WINDOW, 62 SERVICE_WORKER_PROVIDER_FOR_WINDOW,
63 SERVICE_WORKER_PROVIDER_FOR_WORKER, 63 SERVICE_WORKER_PROVIDER_FOR_WORKER,
64 SERVICE_WORKER_PROVIDER_FOR_SHARED_WORKER, 64 SERVICE_WORKER_PROVIDER_FOR_SHARED_WORKER,
65 65
66 // For ServiceWorkers. 66 // For ServiceWorkers.
67 SERVICE_WORKER_PROVIDER_FOR_CONTROLLER, 67 SERVICE_WORKER_PROVIDER_FOR_CONTROLLER,
68 68
69 // For sandboxed frames.
70 SERVICE_WORKER_PROVIDER_FOR_SANDBOXED_FRAME,
71
72 SERVICE_WORKER_PROVIDER_TYPE_LAST = 69 SERVICE_WORKER_PROVIDER_TYPE_LAST =
73 SERVICE_WORKER_PROVIDER_FOR_SANDBOXED_FRAME 70 SERVICE_WORKER_PROVIDER_FOR_CONTROLLER
74 }; 71 };
75 72
76 // The enum entries below are written to histograms and thus cannot be deleted 73 // The enum entries below are written to histograms and thus cannot be deleted
77 // or reordered. 74 // or reordered.
78 // New entries must be added immediately before the end. 75 // New entries must be added immediately before the end.
79 enum FetchRequestMode { 76 enum FetchRequestMode {
80 FETCH_REQUEST_MODE_SAME_ORIGIN, 77 FETCH_REQUEST_MODE_SAME_ORIGIN,
81 FETCH_REQUEST_MODE_NO_CORS, 78 FETCH_REQUEST_MODE_NO_CORS,
82 FETCH_REQUEST_MODE_CORS, 79 FETCH_REQUEST_MODE_CORS,
83 FETCH_REQUEST_MODE_CORS_WITH_FORCED_PREFLIGHT, 80 FETCH_REQUEST_MODE_CORS_WITH_FORCED_PREFLIGHT,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 const ServiceWorkerObjectInfo& service_worker_info); 251 const ServiceWorkerObjectInfo& service_worker_info);
255 252
256 // Exactly one of these infos should be valid. 253 // Exactly one of these infos should be valid.
257 ServiceWorkerClientInfo client_info; 254 ServiceWorkerClientInfo client_info;
258 ServiceWorkerObjectInfo service_worker_info; 255 ServiceWorkerObjectInfo service_worker_info;
259 }; 256 };
260 257
261 } // namespace content 258 } // namespace content
262 259
263 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ 260 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_
OLDNEW
« no previous file with comments | « content/child/service_worker/service_worker_network_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698