| Index: third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.cpp
|
| diff --git a/third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.cpp b/third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.cpp
|
| index 578589280fd419a5a2610589fb320126bda05c90..04db190f16031f8426f0b29aafac33048bdd0215 100644
|
| --- a/third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.cpp
|
| +++ b/third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.cpp
|
| @@ -33,8 +33,9 @@ void recordTiming(const ResourceLoadTiming& timing, TracedValue* value) {
|
| timing.calculateMillisecondDelta(timing.sendStart()));
|
| value->setDouble("sendEnd",
|
| timing.calculateMillisecondDelta(timing.sendEnd()));
|
| - value->setDouble("receiveHeadersEnd", timing.calculateMillisecondDelta(
|
| - timing.receiveHeadersEnd()));
|
| + value->setDouble(
|
| + "receiveHeadersEnd",
|
| + timing.calculateMillisecondDelta(timing.receiveHeadersEnd()));
|
| value->setDouble("pushStart", timing.pushStart());
|
| value->setDouble("pushEnd", timing.pushEnd());
|
| }
|
| @@ -73,11 +74,13 @@ std::unique_ptr<TracedValue> InspectorResourceFinishEvent::data(
|
| unsigned long identifier,
|
| double finishTime,
|
| bool didFail,
|
| - int64_t encodedDataLength) {
|
| + int64_t encodedDataLength,
|
| + int64_t decodedBodyLength) {
|
| std::unique_ptr<TracedValue> value = TracedValue::create();
|
| value->setString("requestId", String::number(identifier));
|
| value->setBoolean("didFail", didFail);
|
| value->setDouble("encodedDataLength", encodedDataLength);
|
| + value->setDouble("decodedBodyLength", decodedBodyLength);
|
| if (finishTime)
|
| value->setDouble("finishTime", finishTime);
|
| return value;
|
|
|