| Index: third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
|
| index 0100f12119e4268ae5e96c5304d11dd01624b603..744bbbe9fab7e6d281905f1f19cc0671124a54a2 100644
|
| --- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
|
| @@ -76,6 +76,7 @@ NetworkResourcesData::ResourceData::ResourceData(NetworkResourcesData* networkRe
|
| , m_isContentEvicted(false)
|
| , m_type(InspectorPageAgent::OtherResource)
|
| , m_httpStatusCode(0)
|
| + , m_rawHeaderSize(0)
|
| , m_cachedResource(nullptr)
|
| {
|
| }
|
| @@ -200,6 +201,7 @@ void NetworkResourcesData::responseReceived(const String& requestId, const Strin
|
| resourceData->setMimeType(response.mimeType());
|
| resourceData->setTextEncodingName(response.textEncodingName());
|
| resourceData->setHTTPStatusCode(response.httpStatusCode());
|
| + resourceData->setRawHeaderSize(response.resourceLoadInfo() ? response.resourceLoadInfo()->encodedDataLength : 0);
|
|
|
| String filePath = response.downloadedFilePath();
|
| if (!filePath.isEmpty()) {
|
|
|