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 571154108e4e59910c2ab4c887adc40596cefffd..4b83f6f2462f2ff15f4cb9e6e2f513a18a757d17 100644 |
--- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h |
+++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h |
@@ -126,10 +126,14 @@ 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/07/21 21:07:59
I believe this may depend on cached vs non-cached.
allada
2016/07/22 17:19:33
I tested the code against cached connections and h
|
+ |
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*); |
@@ -149,6 +153,7 @@ public: |
String m_mimeType; |
String m_textEncodingName; |
+ int m_rawHeaderSize; |
RefPtr<SharedBuffer> m_buffer; |
WeakMember<Resource> m_cachedResource; |