blob: b1cf94195ac97ad70da77290122126d697dae047 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
] interface FileSystemWriter {
// TODO(mek): 'any' really is 'Blob or ReadableStream', but that's not
// currently supported by our bindings.
[CallWith=ScriptState, RaisesException] Promise<void> write(unsigned long long position, any data);
[CallWith=ScriptState] Promise<void> truncate(unsigned long long size);
[CallWith=ScriptState] Promise<void> close();