OLD | NEW |
(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 |
OLD | NEW |