chromium/components/services/storage/service_worker/service_worker_resource_ops.h

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

#ifndef COMPONENTS_SERVICES_STORAGE_SERVICE_WORKER_SERVICE_WORKER_RESOURCE_OPS_H_
#define COMPONENTS_SERVICES_STORAGE_SERVICE_WORKER_SERVICE_WORKER_RESOURCE_OPS_H_

#include "base/memory/weak_ptr.h"
#include "components/services/storage/public/cpp/big_io_buffer.h"
#include "components/services/storage/public/mojom/service_worker_storage_control.mojom.h"
#include "components/services/storage/service_worker/service_worker_disk_cache.h"
#include "mojo/public/cpp/bindings/receiver.h"

namespace storage {

// Creates and owns a service worker disk cacke entry.
class DiskEntryCreator {};

// Opens and owns a service worker disk cache entry.
class DiskEntryOpener {};

// The implementation of mojom::ServiceWorkerResourceReader.
class ServiceWorkerResourceReaderImpl
    : public mojom::ServiceWorkerResourceReader {};

// The implementation of mojom::ServiceWorkerResourceWriter.
class ServiceWorkerResourceWriterImpl
    : public mojom::ServiceWorkerResourceWriter {};

// The implementation of mojom::ServiceWorkerResourceMetadataWriter.
class ServiceWorkerResourceMetadataWriterImpl
    : public mojom::ServiceWorkerResourceMetadataWriter {};

}  // namespace storage

#endif  // COMPONENTS_SERVICES_STORAGE_SERVICE_WORKER_SERVICE_WORKER_RESOURCE_OPS_H_