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

Unified Diff: Source/core/loader/DocumentThreadableLoader.h

Issue 603903003: [Streams] Pass WebDataConsumerHandle when the response arrives. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@web-data-pipe
Patch Set: Created 6 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
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentThreadableLoader.h
diff --git a/Source/core/loader/DocumentThreadableLoader.h b/Source/core/loader/DocumentThreadableLoader.h
index ba4836c245922af0a8f4ed49589e6bca29f77480..bcd2b164d1826d619603d3c9996b9fb1dfa8c9d0 100644
--- a/Source/core/loader/DocumentThreadableLoader.h
+++ b/Source/core/loader/DocumentThreadableLoader.h
@@ -73,7 +73,7 @@ class DocumentThreadableLoader final : public ThreadableLoader, private Resource
// RawResourceClient implementation
virtual void dataSent(Resource*, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override;
- virtual void responseReceived(Resource*, const ResourceResponse&) override;
+ virtual void responseReceived(Resource*, const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>) override;
virtual void dataReceived(Resource*, const char* data, unsigned dataLength) override;
virtual void redirectReceived(Resource*, ResourceRequest&, const ResourceResponse&) override;
virtual void notifyFinished(Resource*) override;
@@ -86,7 +86,7 @@ class DocumentThreadableLoader final : public ThreadableLoader, private Resource
// Methods containing code to handle resource fetch results which is
// common to both sync and async mode.
- void handleResponse(unsigned long identifier, const ResourceResponse&);
+ void handleResponse(unsigned long identifier, const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>);
void handleReceivedData(const char* data, unsigned dataLength);
void handleSuccessfulFinish(unsigned long identifier, double finishTime);
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698