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

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

Issue 1150413003: [XHR] Ignore didReceiveData when having a DataConsumerHandle. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months 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 | « no previous file | 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 34af423ba6c2abc40bc797b7f7f59a8fba1fa729..5df617f683f8897c0c28ecb95843de46a3c1ba86 100644
--- a/Source/core/loader/DocumentThreadableLoader.h
+++ b/Source/core/loader/DocumentThreadableLoader.h
@@ -141,6 +141,10 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader, priv
// Set to true if the current request is cross-origin and not simple.
bool m_crossOriginNonSimpleRequest;
+ // Set to true when the response data is given to a data consumer
+ // handle.
+ bool m_isUsingDataConsumerHandle;
+
const bool m_async;
// Holds the original request context (used for sanity checks).
« no previous file with comments | « no previous file | Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698