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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2519843002: Update ResourceResponse::encodedDataLength when response is completed (Closed)
Patch Set: Update ResourceResponse::encodedDataLength when response is completed Created 4 years, 1 month 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/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index a9846a740881c99e6ae3a7feb2ea30fcf0c3f1f2..a08a69ef16814229f7f969dbe6c60dd8f1f07518 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -212,7 +212,7 @@ class PingLoaderImpl : public GarbageCollectedFinalized<PingLoaderImpl>,
void didReceiveResponse(WebURLLoader*, const WebURLResponse&) final;
void didReceiveData(WebURLLoader*, const char*, int, int, int) final;
void didFinishLoading(WebURLLoader*, double, int64_t) final;
- void didFail(WebURLLoader*, const WebURLError&) final;
+ void didFail(WebURLLoader*, const WebURLError&, int64_t) final;
void timeout(TimerBase*);
@@ -364,7 +364,9 @@ void PingLoaderImpl::didFinishLoading(WebURLLoader*, double, int64_t) {
dispose();
}
-void PingLoaderImpl::didFail(WebURLLoader*, const WebURLError& resourceError) {
+void PingLoaderImpl::didFail(WebURLLoader*,
+ const WebURLError& resourceError,
+ int64_t) {
if (LocalFrame* frame = this->frame()) {
TRACE_EVENT1("devtools.timeline", "ResourceFinish", "data",
InspectorResourceFinishEvent::data(m_identifier, 0, true));

Powered by Google App Engine
This is Rietveld 408576698