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

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

Issue 2540023003: Dispatch encoded_data_length separately in content/child (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/ResourceFetcher.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
index 3b73a98d23c56a0474ec6402bb5d4da03a6774c5..0245749648b6abd467a47efaf485cee6b867b4e5 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
@@ -127,10 +127,8 @@ class CORE_EXPORT ResourceFetcher
void didReceiveResponse(Resource*,
const ResourceResponse&,
std::unique_ptr<WebDataConsumerHandle>);
- void didReceiveData(const Resource*,
- const char* data,
- int dataLength,
- int encodedDataLength);
+ void didReceiveData(const Resource*, const char* data, int dataLength);
+ void didReceiveTransferSizeUpdate(const Resource*, int transferSizeDiff);
void didDownloadData(const Resource*, int dataLength, int encodedDataLength);
bool defersLoading() const;
bool isControlledByServiceWorker() const;

Powered by Google App Engine
This is Rietveld 408576698