Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/NetworkResourcesData.h |
| diff --git a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h |
| index f819f18864d6fceb7dcd763f79cb72068803535a..dd389fa4208afabb043c0921e2bdb0f8094e7d22 100644 |
| --- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h |
| +++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h |
| @@ -128,13 +128,17 @@ public: |
| BlobDataHandle* downloadedFileBlob() const { return m_downloadedFileBlob.get(); } |
| void setDownloadedFileBlob(PassRefPtr<BlobDataHandle> blob) { m_downloadedFileBlob = blob; } |
| + int rawHeaderSize() const { return m_rawHeaderSize; } |
| + void setRawHeaderSize(int size) { m_rawHeaderSize = size; } |
| + |
| + size_t dataLength() const; |
|
dgozman
2016/09/08 23:39:50
Let's move this back to private.
allada
2016/09/09 00:17:23
Done.
|
| + |
| Vector<AtomicString> certificate() { return m_certificate; } |
| void setCertificate(const Vector<AtomicString>& certificate) { m_certificate = certificate; } |
| DECLARE_TRACE(); |
| private: |
| bool hasData() const { return m_dataBuffer.get(); } |
| - size_t dataLength() const; |
| void appendData(const char* data, size_t dataLength); |
| size_t decodeDataToContent(); |
| void clearWeakMembers(Visitor*); |
| @@ -154,6 +158,7 @@ public: |
| String m_mimeType; |
| String m_textEncodingName; |
| + int m_rawHeaderSize; |
|
dgozman
2016/09/08 23:39:50
Initialize to 0 in constructor.
allada
2016/09/09 00:17:23
Done.
|
| RefPtr<SharedBuffer> m_buffer; |
| WeakMember<Resource> m_cachedResource; |