Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Unified Diff: third_party/WebKit/Source/core/inspector/NetworkResourcesData.h

Issue 2167853003: [DevTools] Always report encodedDataLength in Network.ResponseReceived. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..e6879452f5af733e6888bd064d9549314aa0bbf7 100644
--- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h
+++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.h
@@ -128,6 +128,9 @@ 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; }
+
Vector<AtomicString> certificate() { return m_certificate; }
void setCertificate(const Vector<AtomicString>& certificate) { m_certificate = certificate; }
@@ -154,6 +157,7 @@ public:
String m_mimeType;
String m_textEncodingName;
+ int m_rawHeaderSize;
RefPtr<SharedBuffer> m_buffer;
WeakMember<Resource> m_cachedResource;

Powered by Google App Engine
This is Rietveld 408576698