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

Unified Diff: third_party/WebKit/public/platform/WebURLRequest.h

Issue 1775933002: CORS-RFC1918: Pipe creator address space through SharedWorker creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 9 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: third_party/WebKit/public/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index fafa98ce4a27edda76656193bc997c486be887b5..66d86b95ee6affb734cb2bfc4a93342ef53713a8 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -31,6 +31,7 @@
#ifndef WebURLRequest_h
#define WebURLRequest_h
+#include "WebAddressSpace.h"
#include "WebCommon.h"
#include "WebHTTPBody.h"
#include "WebReferrerPolicy.h"
@@ -64,14 +65,6 @@ public:
PriorityVeryHigh,
};
- // The ordering is important, as it's used to determine whether preflights are required,
- // as per https://mikewest.github.io/cors-rfc1918/#framework
- enum AddressSpace {
- AddressSpaceLocal = 0, // loopback, link local
- AddressSpacePrivate, // Reserved by RFC1918
- AddressSpacePublic // Everything else
- };
-
// Corresponds to Fetch's "context": http://fetch.spec.whatwg.org/#concept-request-context
enum RequestContext {
RequestContextUnspecified = 0,
« no previous file with comments | « third_party/WebKit/public/platform/WebAddressSpace.h ('k') | third_party/WebKit/public/web/WebSharedWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698