#include "components/services/storage/public/cpp/quota_client_callback_wrapper.h"
#include <utility>
#include "base/check_op.h"
#include "base/sequence_checker.h"
#include "components/services/storage/public/cpp/buckets/bucket_locator.h"
#include "components/services/storage/public/mojom/quota_client.mojom.h"
#include "mojo/public/cpp/bindings/callback_helpers.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom.h"
namespace storage {
QuotaClientCallbackWrapper::QuotaClientCallbackWrapper(
mojom::QuotaClient* wrapped_client)
: … { … }
QuotaClientCallbackWrapper::~QuotaClientCallbackWrapper() { … }
void QuotaClientCallbackWrapper::GetBucketUsage(
const BucketLocator& bucket,
GetBucketUsageCallback callback) { … }
void QuotaClientCallbackWrapper::GetStorageKeysForType(
blink::mojom::StorageType type,
GetStorageKeysForTypeCallback callback) { … }
void QuotaClientCallbackWrapper::DeleteBucketData(
const BucketLocator& bucket,
DeleteBucketDataCallback callback) { … }
void QuotaClientCallbackWrapper::PerformStorageCleanup(
blink::mojom::StorageType type,
PerformStorageCleanupCallback callback) { … }
}