#include "storage/browser/file_system/quota/quota_reservation.h"
#include <stdint.h>
#include <memory>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "storage/browser/file_system/quota/open_file_handle.h"
#include "storage/browser/file_system/quota/quota_reservation_buffer.h"
namespace storage {
void QuotaReservation::RefreshReservation(int64_t size,
StatusCallback callback) { … }
std::unique_ptr<OpenFileHandle> QuotaReservation::GetOpenFileHandle(
const base::FilePath& platform_path) { … }
void QuotaReservation::OnClientCrash() { … }
void QuotaReservation::ConsumeReservation(int64_t size) { … }
QuotaReservationManager* QuotaReservation::reservation_manager() { … }
const url::Origin& QuotaReservation::origin() const { … }
FileSystemType QuotaReservation::type() const { … }
QuotaReservation::QuotaReservation(QuotaReservationBuffer* reservation_buffer)
: … { … }
QuotaReservation::~QuotaReservation() { … }
bool QuotaReservation::AdaptDidUpdateReservedQuota(
const base::WeakPtr<QuotaReservation>& reservation,
int64_t previous_size,
StatusCallback callback,
base::File::Error error,
int64_t delta) { … }
bool QuotaReservation::DidUpdateReservedQuota(int64_t previous_size,
StatusCallback callback,
base::File::Error error,
int64_t delta) { … }
}