chromium/content/browser/shared_storage/shared_storage_code_cache_host_proxy.cc

// 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.

#include "content/browser/shared_storage/shared_storage_code_cache_host_proxy.h"

#include "base/logging.h"

namespace content {

SharedStorageCodeCacheHostProxy::SharedStorageCodeCacheHostProxy(
    mojo::PendingRemote<blink::mojom::CodeCacheHost> actual_code_cache_host,
    mojo::PendingReceiver<blink::mojom::CodeCacheHost> receiver,
    const GURL& script_url)
    :{}

SharedStorageCodeCacheHostProxy::~SharedStorageCodeCacheHostProxy() = default;

void SharedStorageCodeCacheHostProxy::DidGenerateCacheableMetadata(
    blink::mojom::CodeCacheType cache_type,
    const GURL& url,
    base::Time expected_response_time,
    mojo_base::BigBuffer data) {}

void SharedStorageCodeCacheHostProxy::FetchCachedCode(
    blink::mojom::CodeCacheType cache_type,
    const GURL& url,
    FetchCachedCodeCallback callback) {}

void SharedStorageCodeCacheHostProxy::ClearCodeCacheEntry(
    blink::mojom::CodeCacheType cache_type,
    const GURL& url) {}

void SharedStorageCodeCacheHostProxy::
    DidGenerateCacheableMetadataInCacheStorage(
        const GURL& url,
        base::Time expected_response_time,
        mojo_base::BigBuffer data,
        const std::string& cache_storage_cache_name) {}

}  // namespace content