#include "third_party/blink/renderer/core/streams/byte_length_queuing_strategy.h"
#include "third_party/blink/renderer/bindings/core/v8/script_function.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_queuing_strategy_init.h"
#include "third_party/blink/renderer/core/streams/queuing_strategy_common.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/heap/visitor.h"
namespace blink {
namespace {
static const V8PrivateProperty::SymbolKey
kByteLengthQueuingStrategySizeFunction;
class ByteLengthQueuingStrategySizeFunction final
: public ScriptFunction::Callable { … };
}
ByteLengthQueuingStrategy* ByteLengthQueuingStrategy::Create(
ScriptState* script_state,
const QueuingStrategyInit* init) { … }
ByteLengthQueuingStrategy::ByteLengthQueuingStrategy(
ScriptState* script_state,
const QueuingStrategyInit* init)
: … { … }
ByteLengthQueuingStrategy::~ByteLengthQueuingStrategy() = default;
ScriptValue ByteLengthQueuingStrategy::size(ScriptState* script_state) const { … }
}