chromium/third_party/blink/renderer/modules/file_system_access/file_system_sync_access_handle.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/file_system_access/file_system_sync_access_handle.h"

#include "base/files/file_error_or.h"
#include "base/numerics/checked_math.h"
#include "base/types/expected_macros.h"
#include "third_party/blink/renderer/modules/file_system_access/file_system_access_file_delegate.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"

namespace blink {

FileSystemSyncAccessHandle::FileSystemSyncAccessHandle(
    ExecutionContext* context,
    FileSystemAccessFileDelegate* file_delegate,
    mojo::PendingRemote<mojom::blink::FileSystemAccessAccessHandleHost>
        access_handle_remote,
    V8FileSystemSyncAccessHandleMode lock_mode)
    :{}

void FileSystemSyncAccessHandle::Trace(Visitor* visitor) const {}

void FileSystemSyncAccessHandle::close() {}

void FileSystemSyncAccessHandle::flush(ExceptionState& exception_state) {}

uint64_t FileSystemSyncAccessHandle::getSize(ExceptionState& exception_state) {}

void FileSystemSyncAccessHandle::truncate(uint64_t size,
                                          ExceptionState& exception_state) {}

uint64_t FileSystemSyncAccessHandle::read(const AllowSharedBufferSource* buffer,
                                          FileSystemReadWriteOptions* options,
                                          ExceptionState& exception_state) {}

uint64_t FileSystemSyncAccessHandle::write(
    const AllowSharedBufferSource* buffer,
    FileSystemReadWriteOptions* options,
    ExceptionState& exception_state) {}

const char* FileSystemSyncAccessHandle::mode() {}

}  // namespace blink