Index: Source/WebCore/platform/network/HTTPParsers.h |
diff --git a/Source/WebCore/platform/network/HTTPParsers.h b/Source/WebCore/platform/network/HTTPParsers.h |
index 71075e9e8f2e5ee1e5298aaa0d76e347c45bb523..a71cb549e93d7962547b2a694f31b40feb738c73 100644 |
--- a/Source/WebCore/platform/network/HTTPParsers.h |
+++ b/Source/WebCore/platform/network/HTTPParsers.h |
@@ -47,12 +47,10 @@ typedef enum { |
ContentDispositionOther |
} ContentDispositionType; |
-#if ENABLE(NOSNIFF) |
enum ContentTypeOptionsDisposition { |
ContentTypeOptionsNone, |
ContentTypeOptionsNosniff |
}; |
-#endif |
enum XFrameOptionsDisposition { |
XFrameOptionsNone, |
@@ -79,9 +77,7 @@ XFrameOptionsDisposition parseXFrameOptionsHeader(const String&); |
// -1 could be set to one of the return parameters to indicate the value is not specified. |
bool parseRange(const String&, long long& rangeOffset, long long& rangeEnd, long long& rangeSuffixLength); |
-#if ENABLE(NOSNIFF) |
ContentTypeOptionsDisposition parseContentTypeOptionsHeader(const String& header); |
-#endif |
// Parsing Complete HTTP Messages. |
enum HTTPVersion { Unknown, HTTP_1_0, HTTP_1_1 }; |