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

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, 2 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 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..14b619e44469dc894287748371ff4429932c1b8e 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -76,12 +76,15 @@ enum ServiceWorkerProviderType {
SERVICE_WORKER_PROVIDER_FOR_SANDBOXED_FRAME
};
+// entries written to histograms cannot be deleted or reordered
hiroshige 2015/10/30 12:31:30 Nit: Capitalize the first letter in L79 and L80. N
shiva.jm 2015/11/02 12:06:20 Done.
+// 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