chromium/out/Default/gen/components/services/storage/public/mojom/service_worker_storage_control.mojom-shared.h

// components/services/storage/public/mojom/service_worker_storage_control.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 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_PUBLIC_MOJOM_SERVICE_WORKER_STORAGE_CONTROL_MOJOM_SHARED_H_
#define COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_SERVICE_WORKER_STORAGE_CONTROL_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "components/services/storage/public/mojom/service_worker_storage_control.mojom-shared-internal.h"
#include "components/services/storage/public/mojom/service_worker_database.mojom-shared.h"
#include "components/services/storage/public/mojom/storage_policy_update.mojom-shared.h"
#include "mojo/public/mojom/base/big_buffer.mojom-shared.h"
#include "mojo/public/mojom/base/byte_string.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "services/network/public/mojom/url_response_head.mojom-shared.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_fetch_handler_type.mojom-shared.h"
#include "third_party/blink/public/mojom/storage_key/storage_key.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace storage::mojom {
class ServiceWorkerLiveVersionInfoDataView;

class ServiceWorkerFindRegistrationResultDataView;

class ServiceWorkerUserDataDataView;



}  // storage::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::storage::mojom::ServiceWorkerLiveVersionInfoDataView> {};

template <>
struct MojomTypeTraits<::storage::mojom::ServiceWorkerFindRegistrationResultDataView> {};

template <>
struct MojomTypeTraits<::storage::mojom::ServiceWorkerUserDataDataView> {};

}  // namespace internal
}  // namespace mojo


namespace storage::mojom {


enum class ServiceWorkerStorageStorageKeyState : int32_t {};

 std::ostream& operator<<(std::ostream& os, ServiceWorkerStorageStorageKeyState value);
inline bool IsKnownEnumValue(ServiceWorkerStorageStorageKeyState value) {}
// Interface base classes. They are used for type safety check.
class ServiceWorkerLiveVersionRefInterfaceBase {};

ServiceWorkerLiveVersionRefPtrDataView;
ServiceWorkerLiveVersionRefRequestDataView;
ServiceWorkerLiveVersionRefAssociatedPtrInfoDataView;
ServiceWorkerLiveVersionRefAssociatedRequestDataView;
class ServiceWorkerResourceReaderInterfaceBase {};

ServiceWorkerResourceReaderPtrDataView;
ServiceWorkerResourceReaderRequestDataView;
ServiceWorkerResourceReaderAssociatedPtrInfoDataView;
ServiceWorkerResourceReaderAssociatedRequestDataView;
class ServiceWorkerResourceWriterInterfaceBase {};

ServiceWorkerResourceWriterPtrDataView;
ServiceWorkerResourceWriterRequestDataView;
ServiceWorkerResourceWriterAssociatedPtrInfoDataView;
ServiceWorkerResourceWriterAssociatedRequestDataView;
class ServiceWorkerResourceMetadataWriterInterfaceBase {};

ServiceWorkerResourceMetadataWriterPtrDataView;
ServiceWorkerResourceMetadataWriterRequestDataView;
ServiceWorkerResourceMetadataWriterAssociatedPtrInfoDataView;
ServiceWorkerResourceMetadataWriterAssociatedRequestDataView;
class ServiceWorkerStorageControlInterfaceBase {};

ServiceWorkerStorageControlPtrDataView;
ServiceWorkerStorageControlRequestDataView;
ServiceWorkerStorageControlAssociatedPtrInfoDataView;
ServiceWorkerStorageControlAssociatedRequestDataView;


class ServiceWorkerLiveVersionInfoDataView {};


class ServiceWorkerFindRegistrationResultDataView {};


class ServiceWorkerUserDataDataView {};


}  // storage::mojom

namespace std {

template <>
struct hash<::storage::mojom::ServiceWorkerStorageStorageKeyState>
    : public mojo::internal::EnumHashImpl<::storage::mojom::ServiceWorkerStorageStorageKeyState> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::storage::mojom::ServiceWorkerStorageStorageKeyState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::ServiceWorkerLiveVersionInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::ServiceWorkerFindRegistrationResultDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::ServiceWorkerUserDataDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace storage::mojom {

inline void ServiceWorkerLiveVersionInfoDataView::GetPurgeableResourcesDataView(
    mojo::ArrayDataView<int64_t>* output) {}


inline void ServiceWorkerFindRegistrationResultDataView::GetRegistrationDataView(
    ::storage::mojom::ServiceWorkerRegistrationDataDataView* output) {}
inline void ServiceWorkerFindRegistrationResultDataView::GetResourcesDataView(
    mojo::ArrayDataView<::storage::mojom::ServiceWorkerResourceRecordDataView>* output) {}


inline void ServiceWorkerUserDataDataView::GetKeyDataView(
    mojo::StringDataView* output) {}
inline void ServiceWorkerUserDataDataView::GetValueDataView(
    ::mojo_base::mojom::ByteStringDataView* output) {}



}  // storage::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::storage::mojom::ServiceWorkerStorageStorageKeyState> {};

} // namespace perfetto

#endif  // COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_SERVICE_WORKER_STORAGE_CONTROL_MOJOM_SHARED_H_