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

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

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.h
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.h b/third_party/WebKit/Source/core/fetch/FetchContext.h
index ebd4f5a6bc918b393f4853f906f23c3d604df5cf..b88dd150ffc6f0a11ba7acc424e0540f96e8cdb5 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.h
@@ -101,8 +101,7 @@ class CORE_EXPORT FetchContext
Resource*);
virtual void dispatchDidReceiveData(unsigned long identifier,
const char* data,
- int dataLength,
- int encodedDataLength);
+ int dataLength);
virtual void dispatchDidDownloadData(unsigned long identifier,
int dataLength,
int encodedDataLength);
@@ -111,6 +110,7 @@ class CORE_EXPORT FetchContext
int64_t encodedDataLength);
virtual void dispatchDidFail(unsigned long identifier,
const ResourceError&,
+ int64_t encodedDataLength,
dgozman 2016/11/22 17:54:12 I like this one!
bool isInternalRequest);
virtual bool shouldLoadNewResource(Resource::Type) const { return false; }

Powered by Google App Engine
This is Rietveld 408576698