Index: third_party/WebKit/Source/core/fileapi/Blob.h |
diff --git a/third_party/WebKit/Source/core/fileapi/Blob.h b/third_party/WebKit/Source/core/fileapi/Blob.h |
index 99097137f73638f8e7f32ababb4f163a39574bb3..aa69ca27b39d3c7cc141180bbef140a61914f662 100644 |
--- a/third_party/WebKit/Source/core/fileapi/Blob.h |
+++ b/third_party/WebKit/Source/core/fileapi/Blob.h |
@@ -132,6 +132,11 @@ class CORE_EXPORT Blob : public GarbageCollectedFinalized<Blob>, |
long long& start, |
long long& end); |
+ // Called by the Blob and File constructors when processing the 'type' |
+ // option per the FileAPI standard. Returns "" if |type| contains any |
+ // character outside U+0020...U+007E, or |type| ASCII-lowercased otherwise. |
+ static String normalizeType(const String& type); |
+ |
private: |
Blob(); |