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

Unified Diff: third_party/WebKit/Source/platform/network/HTTPNames.json5

Issue 2638233002: Convert make_names and make_event_factory to use json5 config format. (Closed)
Patch Set: fix PLATFORM_EXPORT Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/platform/network/HTTPNames.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/network/HTTPNames.json5
diff --git a/third_party/WebKit/Source/platform/network/HTTPNames.json5 b/third_party/WebKit/Source/platform/network/HTTPNames.json5
new file mode 100644
index 0000000000000000000000000000000000000000..a8ca0854db7eb0ac1cd6cfb8f53b78e52dffe160
--- /dev/null
+++ b/third_party/WebKit/Source/platform/network/HTTPNames.json5
@@ -0,0 +1,69 @@
+{
+ metadata: {
+ namespace: "HTTP",
+ export: "PLATFORM_EXPORT",
+ },
+
+ data: [
+ "GET",
+ "HEAD",
+ "POST",
+ "OPTIONS",
+ "Accept",
+ "Accept-CH",
+ "Access-Control-Allow-External",
+ "Access-Control-Allow-Headers",
+ "Access-Control-Allow-Methods",
+ "Access-Control-Allow-Origin",
+ "Access-Control-Expose-Headers",
+ "Access-Control-Max-Age",
+ "Access-Control-Request-External",
+ "Access-Control-Request-Headers",
+ "Access-Control-Request-Method",
+ "Allow-CSP-From",
+ "Cache-Control",
+ "Content-DPR",
+ "Content-Disposition",
+ "Content-Language",
+ "Content-Security-Policy",
+ "Content-Security-Policy-Report-Only",
+ "Embedding-CSP",
+ "Content-Type",
+ "ETag",
+ "Expires",
+ "Date",
+ "Feature-Policy",
+ "If-Match",
+ "If-Modified-Since",
+ "If-None-Match",
+ "If-Range",
+ "If-Unmodified-Since",
+ "Last-Event-ID",
+ "Last-Modified",
+ "Link",
+ "Location",
+ "Origin",
+ "Origin-Trial",
+ "Ping-From",
+ "Ping-To",
+ "Pragma",
+ "Purpose",
+ "Range",
+ "Referer",
+ "Referrer-Policy",
+ "Refresh",
+ "Resource-Freshness",
+ "SourceMap",
+ "Suborigin",
+ "Timing-Allow-Origin",
+ "Upgrade-Insecure-Requests",
+ "User-Agent",
+ "Vary",
+ "X-Content-Type-Options",
+ "X-DNS-Prefetch-Control",
+ "X-DevTools-Emulate-Network-Conditions-Client-Id",
+ "X-Frame-Options",
+ "X-SourceMap",
+ "X-XSS-Protection",
+ ],
+}
« no previous file with comments | « third_party/WebKit/Source/platform/network/HTTPNames.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698