#include "storage/browser/database/database_quota_client.h"
#include <stdint.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/sequence_checker.h"
#include "base/task/sequenced_task_runner.h"
#include "components/services/storage/public/cpp/buckets/bucket_locator.h"
#include "net/base/completion_once_callback.h"
#include "net/base/net_errors.h"
#include "storage/browser/database/database_tracker.h"
#include "storage/browser/database/database_util.h"
#include "storage/browser/quota/quota_client_type.h"
#include "storage/common/database/database_identifier.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom.h"
#include "url/origin.h"
StorageKey;
StorageType;
namespace storage {
DatabaseQuotaClient::DatabaseQuotaClient(DatabaseTracker& db_tracker)
: … { … }
DatabaseQuotaClient::~DatabaseQuotaClient() { … }
void DatabaseQuotaClient::GetBucketUsage(const BucketLocator& bucket,
GetBucketUsageCallback callback) { … }
void DatabaseQuotaClient::GetStorageKeysForType(
StorageType type,
GetStorageKeysForTypeCallback callback) { … }
void DatabaseQuotaClient::DeleteBucketData(const BucketLocator& bucket,
DeleteBucketDataCallback callback) { … }
void DatabaseQuotaClient::PerformStorageCleanup(
blink::mojom::StorageType type,
PerformStorageCleanupCallback callback) { … }
}