blob: 76bb76d15fddeb8316b26e1f120c25ff74761cdc [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.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_FILESYSTEM_FILE_SYSTEM_FILE_HANDLE_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_FILESYSTEM_FILE_SYSTEM_FILE_HANDLE_H_
#include "third_party/blink/renderer/modules/filesystem/file_system_base_handle.h"
namespace blink {
class FileSystemFileHandle : public FileSystemBaseHandle {
DEFINE_WRAPPERTYPEINFO();
public:
FileSystemFileHandle(DOMFileSystemBase*, const String& full_path);
bool isFile() const override { return true; }
ScriptPromise createWriter(ScriptState*);
ScriptPromise getFile(ScriptState*);
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_FILESYSTEM_FILE_SYSTEM_FILE_HANDLE_H_