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

Unified Diff: Source/modules/fetch/Body.h

Issue 899653002: Use ExclusiveStreamReader to lock Body. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@exclusive-reader
Patch Set: rebase Created 5 years, 10 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 | « Source/core/streams/ReadableStream.h ('k') | Source/modules/fetch/Body.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/Body.h
diff --git a/Source/modules/fetch/Body.h b/Source/modules/fetch/Body.h
index e22753cb108a4f3d2ea80dd157392e29ee0a0b48..1ed83d42b44a46a368a39bb8ee171de0e8e1fd7b 100644
--- a/Source/modules/fetch/Body.h
+++ b/Source/modules/fetch/Body.h
@@ -19,6 +19,7 @@
namespace blink {
class BodyStreamBuffer;
+class ExclusiveStreamReader;
class ScriptState;
class Body
@@ -101,6 +102,7 @@ private:
RefPtrWillBeMember<ScriptPromiseResolver> m_resolver;
Member<ReadableStreamSource> m_streamSource;
Member<ReadableStreamImpl<ReadableStreamChunkTypeTraits<DOMArrayBuffer>>> m_stream;
+ Member<ExclusiveStreamReader> m_streamReader;
};
} // namespace blink
« no previous file with comments | « Source/core/streams/ReadableStream.h ('k') | Source/modules/fetch/Body.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698