#include "third_party/blink/renderer/modules/file_system_access/file_system_writable_file_stream.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_queuing_strategy_init.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_union_arraybuffer_arraybufferview_blob_usvstring_writeparams.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_write_params.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/streams/count_queuing_strategy.h"
#include "third_party/blink/renderer/core/streams/writable_stream_default_controller.h"
#include "third_party/blink/renderer/core/streams/writable_stream_default_writer.h"
#include "third_party/blink/renderer/modules/file_system_access/file_system_underlying_sink.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
namespace blink {
FileSystemWritableFileStream* FileSystemWritableFileStream::Create(
ScriptState* script_state,
mojo::PendingRemote<mojom::blink::FileSystemAccessFileWriter>
writer_pending_remote,
V8FileSystemWritableFileStreamMode lock_mode) { … }
FileSystemWritableFileStream::FileSystemWritableFileStream(
V8FileSystemWritableFileStreamMode lock_mode)
: … { … }
ScriptPromise<IDLUndefined> FileSystemWritableFileStream::write(
ScriptState* script_state,
const V8UnionBlobOrBufferSourceOrUSVStringOrWriteParams* data,
ExceptionState& exception_state) { … }
ScriptPromise<IDLUndefined> FileSystemWritableFileStream::truncate(
ScriptState* script_state,
uint64_t size,
ExceptionState& exception_state) { … }
ScriptPromise<IDLUndefined> FileSystemWritableFileStream::seek(
ScriptState* script_state,
uint64_t offset,
ExceptionState& exception_state) { … }
void FileSystemWritableFileStream::Trace(Visitor* visitor) const { … }
const char* FileSystemWritableFileStream::mode() const { … }
}