chromium/content/browser/blob_storage/file_backed_blob_factory_frame_impl_unittest.cc

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

#include "content/browser/blob_storage/file_backed_blob_factory_frame_impl.h"

#include "base/test/task_environment.h"
#include "components/file_access/test/mock_scoped_file_access_delegate.h"
#include "content/browser/blob_storage/chrome_blob_storage_context.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/test/mock_render_process_host.h"
#include "content/test/test_render_frame_host.h"
#include "content/test/test_render_view_host.h"
#include "mojo/public/cpp/system/functions.h"
#include "storage/browser/blob/blob_data_builder.h"
#include "storage/browser/blob/blob_data_handle.h"
#include "storage/browser/blob/blob_storage_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/blob/data_element.mojom.h"
#include "third_party/blink/public/mojom/blob/file_backed_blob_factory.mojom.h"
#include "url/gurl.h"

#if defined(FILE_PATH_USES_DRIVE_LETTERS)
#define TEST_PATH
#else
#define TEST_PATH(x)
#endif

namespace content {
namespace {
constexpr char kId[] =;
constexpr char kType[] =;
constexpr uint64_t kOffset =;
constexpr uint64_t kSize =;
}  // namespace

class FileBackedBlobFactoryFrameImplTest
    : public RenderViewHostImplTestHarness {};

TEST_F(FileBackedBlobFactoryFrameImplTest, Register_UnreadableFile) {}

TEST_F(FileBackedBlobFactoryFrameImplTest, Register_ValidFile) {}

TEST_F(FileBackedBlobFactoryFrameImplTest, Register_ExistingUUID) {}

TEST_F(FileBackedBlobFactoryFrameImplTest, Register_EmptyUUID) {}

TEST_F(FileBackedBlobFactoryFrameImplTest,
       Register_ExistingScopedFileAccessDelegate) {}

}  // namespace content