| Index: third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| index 7ed28d653ef8fe7f23b5d6aadbd6f918c8f0befd..91b38a991c4799bf83713d2ed3c4382dd46b6c63 100644
|
| --- a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| @@ -876,4 +876,13 @@ std::unique_ptr<JSONArray> parseJSONHeader(const String& header,
|
| return JSONArray::from(std::move(headerValue));
|
| }
|
|
|
| +bool parseContentRangeHeaderFor206(const String& contentRange,
|
| + int64_t* firstBytePosition,
|
| + int64_t* lastBytePosition,
|
| + int64_t* instanceLength) {
|
| + return net::HttpUtil::ParseContentRangeHeaderFor206(
|
| + StringUTF8Adaptor(contentRange).asStringPiece(), firstBytePosition,
|
| + lastBytePosition, instanceLength);
|
| +}
|
| +
|
| } // namespace blink
|
|
|