chromium/content/browser/indexed_db/indexed_db_bucket_context_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/indexed_db/indexed_db_bucket_context.h"

#include <memory>
#include <string>

#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-shared.h"
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom.h"
#include "content/browser/indexed_db/indexed_db_fake_backing_store.h"
#include "storage/browser/test/mock_quota_manager_proxy.h"
#include "storage/browser/test/mock_special_storage_policy.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "url/gurl.h"

namespace content {

SizeIs;
ITS;

class IndexedDBBucketContextTest : public testing::Test {};

TEST_F(IndexedDBBucketContextTest, CanUseDiskSpaceQueuing) {}

TEST_F(IndexedDBBucketContextTest, CanUseDiskSpaceCaching) {}

TEST_F(IndexedDBBucketContextTest, CanUseDiskSpaceWarmUp) {}

TEST_F(IndexedDBBucketContextTest, BucketSpaceDecay) {}

// Verifies state history is calculated correctly based on snapshots.
TEST_F(IndexedDBBucketContextTest, MetadataRecordingStateHistory) {}

}  // namespace content