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

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 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..3278e745661b02c9ed9946a23701742e21b4a07d 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.cpp
@@ -76,14 +76,18 @@ void FetchContext::dispatchDidReceiveResponse(unsigned long,
void FetchContext::dispatchDidReceiveData(unsigned long,
const char*,
- int,
int) {}
+void FetchContext::dispatchDidReceiveEncodedData(unsigned long, 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&,
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FetchContext.h ('k') | third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698