| Index: third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.h b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| index bb4e0924e10aa8a3356f0766526154bcda5b716d..5c04f4aeeef1408053999c96773d45e21adf3d59 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| @@ -217,6 +217,13 @@ public:
|
| bool isMultipartPayload() const { return m_isMultipartPayload; }
|
| void setIsMultipartPayload(bool value) { m_isMultipartPayload = value; }
|
|
|
| + const Vector<char>& multipartBoundary() const { return m_multipartBoundary; }
|
| + void setMultipartBoundary(const char* bytes, size_t size)
|
| + {
|
| + m_multipartBoundary.clear();
|
| + m_multipartBoundary.append(bytes, size);
|
| + }
|
| +
|
| int64_t responseTime() const { return m_responseTime; }
|
| void setResponseTime(int64_t responseTime) { m_responseTime = responseTime; }
|
|
|
| @@ -305,6 +312,9 @@ private:
|
| // Note: only valid for main resource responses.
|
| KURL m_appCacheManifestURL;
|
|
|
| + // The multipart boundary of this response.
|
| + Vector<char> m_multipartBoundary;
|
| +
|
| // Set to true if this is part of a multipart response.
|
| bool m_isMultipartPayload;
|
|
|
| @@ -379,6 +389,7 @@ public:
|
| ResourceResponse::HTTPVersion m_httpVersion;
|
| long long m_appCacheID;
|
| KURL m_appCacheManifestURL;
|
| + Vector<char> m_multipartBoundary;
|
| bool m_isMultipartPayload;
|
| bool m_wasFetchedViaSPDY;
|
| bool m_wasNpnNegotiated;
|
|
|