| 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 bd5257dece6b4a7ce03560d17ba556f50cd38c51..805948d6a3c19e12500ce4f577b507d7f39f94a0 100644
|
| --- a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| @@ -910,4 +910,13 @@ std::unique_ptr<JSONArray> parseJSONHeader(const String& header,
|
| return JSONArray::from(std::move(headerValue));
|
| }
|
|
|
| +bool parseContentRangeHeader(const String& contentRange,
|
| + int64_t* firstBytePosition,
|
| + int64_t* lastBytePosition,
|
| + int64_t* instanceLength) {
|
| + return net::HttpUtil::ParseContentRangeHeader(
|
| + StringUTF8Adaptor(contentRange).asStringPiece(), firstBytePosition,
|
| + lastBytePosition, instanceLength);
|
| +}
|
| +
|
| } // namespace blink
|
|
|