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

Unified Diff: content/common/service_worker/service_worker_types.h

Issue 1391583002: Introduce "navigate" mode in Requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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 32daef68b336a63f68b2c5df0398c54dc2301f83..dd1cab8c13c7a6f87530c948aa4bd109753f5b6d 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -76,12 +76,16 @@ enum ServiceWorkerProviderType {
SERVICE_WORKER_PROVIDER_FOR_SANDBOXED_FRAME
};
+// The enum entries below are written to histograms and thus cannot be deleted
+// or reordered.
+// New entries must be added immediately before the end.
enum FetchRequestMode {
FETCH_REQUEST_MODE_SAME_ORIGIN,
FETCH_REQUEST_MODE_NO_CORS,
FETCH_REQUEST_MODE_CORS,
FETCH_REQUEST_MODE_CORS_WITH_FORCED_PREFLIGHT,
- FETCH_REQUEST_MODE_LAST = FETCH_REQUEST_MODE_CORS_WITH_FORCED_PREFLIGHT
+ FETCH_REQUEST_MODE_NAVIGATE,
+ FETCH_REQUEST_MODE_LAST = FETCH_REQUEST_MODE_NAVIGATE
};
enum FetchCredentialsMode {

Powered by Google App Engine
This is Rietveld 408576698