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

Unified Diff: Source/core/loader/ThreadableLoaderClientWrapper.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/ThreadableLoaderClient.h ('k') | Source/core/loader/WorkerLoaderClientBridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/ThreadableLoaderClientWrapper.h
diff --git a/Source/core/loader/ThreadableLoaderClientWrapper.h b/Source/core/loader/ThreadableLoaderClientWrapper.h
index 355e96720e55adf87b11969fbbbe46a568cafc83..eb3782ecf5b5461f61fd53893bd60fe735a5dd3c 100644
--- a/Source/core/loader/ThreadableLoaderClientWrapper.h
+++ b/Source/core/loader/ThreadableLoaderClientWrapper.h
@@ -63,10 +63,10 @@ public:
m_client->didSendData(bytesSent, totalBytesToBeSent);
}
- void didReceiveResponse(unsigned long identifier, const ResourceResponse& response)
+ void didReceiveResponse(unsigned long identifier, const ResourceResponse& response, PassOwnPtr<WebDataConsumerHandle> handle)
{
if (m_client)
- m_client->didReceiveResponse(identifier, response);
+ m_client->didReceiveResponse(identifier, response, handle);
}
void didReceiveData(const char* data, unsigned dataLength)
@@ -115,7 +115,7 @@ public:
void didReceiveAuthenticationCancellation(unsigned long identifier, const ResourceResponse& response)
{
if (m_client)
- m_client->didReceiveResponse(identifier, response);
+ m_client->didReceiveResponse(identifier, response, nullptr);
}
void didDownloadData(int dataLength)
« no previous file with comments | « Source/core/loader/ThreadableLoaderClient.h ('k') | Source/core/loader/WorkerLoaderClientBridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698