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

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

Issue 1167343002: Add methods for creating V8 extras-based ReadableStreams from C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
(Empty)
1 #ifndef QueuingStrategyBase_h
2 #define QueuingStrategyBase_h
3
4 #include "bindings/core/v8/ScriptValue.h"
5 #include "bindings/core/v8/ScriptWrappable.h"
6 #include "core/CoreExport.h"
7
8 namespace blink {
9
10 class CORE_EXPORT QueuingStrategyBase : public GarbageCollectedFinalized<Queuing StrategyBase>, public ScriptWrappable {
11 DEFINE_WRAPPERTYPEINFO();
12
13 public:
14 explicit QueuingStrategyBase(double highWaterMark);
15 double highWaterMark();
16 virtual double size(ScriptValue chunk) = 0;
17
18 DECLARE_VIRTUAL_TRACE();
19
20 private:
21 double m_highWaterMark;
22 };
23
24 } // namespace blink
25
26 #endif QueuingStrategyBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698