diff options
Diffstat (limited to 'Source/WebKit/chromium/public/WebURLLoader.h')
-rw-r--r-- | Source/WebKit/chromium/public/WebURLLoader.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/WebKit/chromium/public/WebURLLoader.h b/Source/WebKit/chromium/public/WebURLLoader.h index 38efcb4..a47b986 100644 --- a/Source/WebKit/chromium/public/WebURLLoader.h +++ b/Source/WebKit/chromium/public/WebURLLoader.h @@ -41,21 +41,6 @@ class WebURLRequest; class WebURLResponse; struct WebURLError; -enum WebCrossOriginRequestPolicy { - DenyCrossOriginRequests, - UseAccessControl, - AllowCrossOriginRequests -}; - -struct WebURLLoaderOptions { - WebURLLoaderOptions() : sniffContent(false), allowCredentials(false), forcePreflight(false), crossOriginRequestPolicy(DenyCrossOriginRequests) { } - - bool sniffContent; // Whether to sniff content. - bool allowCredentials; // Whether to send HTTP credentials and cookies with the request. - bool forcePreflight; // If AccessControl is used, whether to force a preflight. - WebCrossOriginRequestPolicy crossOriginRequestPolicy; -}; - class WebURLLoader { public: // The WebURLLoader may be deleted in a call to its client. |