Index: third_party/WebKit/Source/platform/network/HTTPParsers.h |
diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.h b/third_party/WebKit/Source/platform/network/HTTPParsers.h |
index 023d7d772102d9165e052a5231d0ff6deb4810f2..c2d33f75da5192b3d59ff16c0263729e28b74d10 100644 |
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.h |
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.h |
@@ -47,13 +47,6 @@ namespace blink { |
class Suborigin; |
class ResourceResponse; |
-typedef enum { |
- kContentDispositionNone, |
- kContentDispositionInline, |
- kContentDispositionAttachment, |
- kContentDispositionOther |
-} ContentDispositionType; |
- |
enum ContentTypeOptionsDisposition { |
kContentTypeOptionsNone, |
kContentTypeOptionsNosniff |
@@ -88,7 +81,7 @@ struct CacheControlHeader { |
max_age(0.0) {} |
}; |
-PLATFORM_EXPORT ContentDispositionType GetContentDispositionType(const String&); |
+PLATFORM_EXPORT bool IsContentDispositionAttachment(const String&); |
PLATFORM_EXPORT bool IsValidHTTPHeaderValue(const String&); |
PLATFORM_EXPORT bool IsValidHTTPFieldContentRFC7230(const String&); |
// Checks whether the given string conforms to the |token| ABNF production |