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

// Copyright 2024 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/bucket_file_system_builder.h"

#include "base/barrier_closure.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_error.mojom-blink-forward.h"

namespace blink {

// static
void BucketFileSystemBuilder::BuildDirectoryTree(
    ExecutionContext* execution_context,
    const String storage_key,
    const String name,
    DirectoryCallback callback,
    FileSystemDirectoryHandle* handle) {}

BucketFileSystemBuilder::BucketFileSystemBuilder(
    ExecutionContext* execution_context,
    const String storage_key,
    const String name,
    DirectoryCallback completion_callback)
    :{}

void BucketFileSystemBuilder::DidReadDirectory(
    mojom::blink::FileSystemAccessErrorPtr result,
    Vector<mojom::blink::FileSystemAccessEntryPtr> entries,
    bool has_more_entries) {}

mojo::PendingRemote<mojom::blink::FileSystemAccessDirectoryEntriesListener>
BucketFileSystemBuilder::GetListener() {}

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

void BucketFileSystemBuilder::DidBuildFile(
    base::OnceClosure barrier_callback,
    mojom::blink::FileSystemAccessErrorPtr result,
    std::unique_ptr<protocol::FileSystem::File> file) {}

void BucketFileSystemBuilder::DidBuildDirectory() {}

void BucketFileSystemBuilder::OnMojoDisconnect() {}

}  // namespace blink