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

Side by Side Diff: Source/core/streams/ScriptQueuingStrategy.h

Issue 1118673002: Implement ReadableStream as a V8 extra (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanups; make controller a member instead of arg 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 unified diff | Download patch
« no previous file with comments | « Source/core/streams/ReadableStream.js ('k') | Source/core/streams/ScriptQueuingStrategy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef ScriptQueuingStrategy_h
2 #define ScriptQueuingStrategy_h
3
4 #include "bindings/core/v8/ScriptValue.h"
5 #include "bindings/core/v8/ScriptWrappable.h"
6
7 namespace blink {
8
9 class CORE_EXPORT ScriptQueuingStrategy : public GarbageCollectedFinalized<Scrip tQueuingStrategy>, public ScriptWrappable {
10 DEFINE_WRAPPERTYPEINFO();
11
12 public:
13 explicit ScriptQueuingStrategy(double highWaterMark);
14 double highWaterMark();
15 virtual double size(ScriptValue chunk) = 0;
16
17 DECLARE_VIRTUAL_TRACE();
18
19 private:
20 double m_highWaterMark;
21 };
22
23 } // namespace blink
24
25 #endif ScriptQueuingStrategy_h
OLDNEW
« no previous file with comments | « Source/core/streams/ReadableStream.js ('k') | Source/core/streams/ScriptQueuingStrategy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698