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

Unified Diff: third_party/WebKit/Source/platform/network/HTTPParsers.h

Issue 2844353003: Use net::HttpContentTypeDisposition in blink (Closed)
Patch Set: fix Created 3 years, 8 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/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
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698