#include "content/browser/storage_access/storage_access_handle.h"
#include "base/types/pass_key.h"
#include "content/browser/broadcast_channel/broadcast_channel_provider.h"
#include "content/browser/broadcast_channel/broadcast_channel_service.h"
#include "content/browser/file_system_access/file_system_access_manager_impl.h"
#include "content/browser/network/cross_origin_embedder_policy_reporter.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/worker_host/shared_worker_connector_impl.h"
#include "content/public/browser/permission_controller.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_client.h"
#include "storage/browser/quota/quota_manager_proxy.h"
#include "third_party/blink/public/common/permissions/permission_utils.h"
namespace content {
PassKey;
namespace {
void EstimateImplAfterGetBucketUsageAndQuota(
StorageAccessHandle::EstimateCallback callback,
blink::mojom::QuotaStatusCode code,
int64_t usage,
int64_t quota) { … }
}
void StorageAccessHandle::Create(
RenderFrameHost* host,
mojo::PendingReceiver<blink::mojom::StorageAccessHandle> receiver) { … }
void StorageAccessHandle::BindIndexedDB(
mojo::PendingReceiver<blink::mojom::IDBFactory> receiver) { … }
void StorageAccessHandle::BindLocks(
mojo::PendingReceiver<blink::mojom::LockManager> receiver) { … }
void StorageAccessHandle::BindCaches(
mojo::PendingReceiver<blink::mojom::CacheStorage> receiver) { … }
void StorageAccessHandle::GetDirectory(GetDirectoryCallback callback) { … }
void StorageAccessHandle::Estimate(EstimateCallback callback) { … }
void StorageAccessHandle::EstimateImpl(
EstimateCallback callback,
storage::QuotaErrorOr<std::set<storage::BucketInfo>> bucket_set) const { … }
void StorageAccessHandle::BindBlobStorage(
mojo::PendingAssociatedReceiver<blink::mojom::BlobURLStore> receiver) { … }
void StorageAccessHandle::BindBroadcastChannel(
mojo::PendingAssociatedReceiver<blink::mojom::BroadcastChannelProvider>
receiver) { … }
void StorageAccessHandle::BindSharedWorker(
mojo::PendingReceiver<blink::mojom::SharedWorkerConnector> receiver) { … }
StorageAccessHandle::StorageAccessHandle(
RenderFrameHost& host,
mojo::PendingReceiver<blink::mojom::StorageAccessHandle> receiver)
: … { … }
StorageAccessHandle::~StorageAccessHandle() = default;
}