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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchContext.cpp

Issue 2519893002: Stop dispatching encoded-data-length on each data chunk arrival (Closed)
Patch Set: fix 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/fetch/FetchContext.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.cpp b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
index de0b4cf99e25eab50cb1fa36b6fe82a49cce66cb..874a40ee0fe50b41a882c75d2ac7cdcf29c30ebd 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
@@ -76,14 +76,16 @@ void FetchContext::dispatchDidReceiveResponse(unsigned long,
void FetchContext::dispatchDidReceiveData(unsigned long,
const char*,
- int,
int) {}
void FetchContext::dispatchDidDownloadData(unsigned long, int, int) {}
void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) {}
-void FetchContext::dispatchDidFail(unsigned long, const ResourceError&, bool) {}
+void FetchContext::dispatchDidFail(unsigned long,
+ const ResourceError&,
+ int64_t,
+ bool) {}
void FetchContext::willStartLoadingResource(unsigned long,
ResourceRequest&,

Powered by Google App Engine
This is Rietveld 408576698