chromium/content/browser/shared_storage/shared_storage_code_cache_host_proxy.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_BROWSER_SHARED_STORAGE_SHARED_STORAGE_CODE_CACHE_HOST_PROXY_H_
#define CONTENT_BROWSER_SHARED_STORAGE_SHARED_STORAGE_CODE_CACHE_HOST_PROXY_H_

#include "content/common/content_export.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "third_party/blink/public/mojom/loader/code_cache.mojom.h"
#include "url/gurl.h"

namespace content {

// Proxy CodeCacheHost, to limit the requests that a shared storage worklet can
// make. It also implicitly adds a scope -- requests are only allowed during the
// lifetime of `SharedStorageCodeCacheHostProxy`.
class CONTENT_EXPORT SharedStorageCodeCacheHostProxy
    : public blink::mojom::CodeCacheHost {};

}  // namespace content

#endif  // CONTENT_BROWSER_SHARED_STORAGE_SHARED_STORAGE_CODE_CACHE_HOST_PROXY_H_