chromium/out/Default/gen/components/services/storage/privileged/mojom/indexed_db_internals_types.mojom.h

// components/services/storage/privileged/mojom/indexed_db_internals_types.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 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_PRIVILEGED_MOJOM_INDEXED_DB_INTERNALS_TYPES_MOJOM_H_
#define COMPONENTS_SERVICES_STORAGE_PRIVILEGED_MOJOM_INDEXED_DB_INTERNALS_TYPES_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

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

#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-features.h"  // IWYU pragma: export
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-shared.h"  // IWYU pragma: export
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-forward.h"  // IWYU pragma: export
#include "components/services/storage/privileged/mojom/bucket_client_info.mojom.h"
#include "components/services/storage/public/mojom/buckets/bucket_locator.mojom.h"
#include "mojo/public/mojom/base/file_path.mojom.h"
#include "mojo/public/mojom/base/string16.mojom.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "services/network/public/mojom/schemeful_site.mojom.h"
#include "url/mojom/origin.mojom.h"
#include <string>
#include <vector>








namespace storage::mojom {










class  IdbTransactionMetadataStateHistory {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, IdbTransactionMetadataStateHistory::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, IdbTransactionMetadataStateHistory::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, IdbTransactionMetadataStateHistory::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, IdbTransactionMetadataStateHistory::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}







class  IdbOriginMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, IdbOriginMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, IdbOriginMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, IdbOriginMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, IdbOriginMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  IdbStorageKeyMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, IdbStorageKeyMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, IdbStorageKeyMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, IdbStorageKeyMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, IdbStorageKeyMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  IdbBucketMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, IdbBucketMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, IdbBucketMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, IdbBucketMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, IdbBucketMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  IdbDatabaseMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, IdbDatabaseMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, IdbDatabaseMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, IdbDatabaseMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, IdbDatabaseMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  IdbTransactionMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, IdbTransactionMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, IdbTransactionMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, IdbTransactionMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, IdbTransactionMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}


template <typename StructPtrType>
IdbOriginMetadataPtr IdbOriginMetadata::Clone() const {}

template <typename T, IdbOriginMetadata::EnableIfSame<T>*>
bool IdbOriginMetadata::Equals(const T& other_struct) const {}

template <typename T, IdbOriginMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
IdbStorageKeyMetadataPtr IdbStorageKeyMetadata::Clone() const {}

template <typename T, IdbStorageKeyMetadata::EnableIfSame<T>*>
bool IdbStorageKeyMetadata::Equals(const T& other_struct) const {}

template <typename T, IdbStorageKeyMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
IdbBucketMetadataPtr IdbBucketMetadata::Clone() const {}

template <typename T, IdbBucketMetadata::EnableIfSame<T>*>
bool IdbBucketMetadata::Equals(const T& other_struct) const {}

template <typename T, IdbBucketMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
IdbDatabaseMetadataPtr IdbDatabaseMetadata::Clone() const {}

template <typename T, IdbDatabaseMetadata::EnableIfSame<T>*>
bool IdbDatabaseMetadata::Equals(const T& other_struct) const {}

template <typename T, IdbDatabaseMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
IdbTransactionMetadataPtr IdbTransactionMetadata::Clone() const {}

template <typename T, IdbTransactionMetadata::EnableIfSame<T>*>
bool IdbTransactionMetadata::Equals(const T& other_struct) const {}

template <typename T, IdbTransactionMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
IdbTransactionMetadataStateHistoryPtr IdbTransactionMetadataStateHistory::Clone() const {}

template <typename T, IdbTransactionMetadataStateHistory::EnableIfSame<T>*>
bool IdbTransactionMetadataStateHistory::Equals(const T& other_struct) const {}

template <typename T, IdbTransactionMetadataStateHistory::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // storage::mojom

namespace mojo {


template <>
struct  StructTraits<::storage::mojom::IdbOriginMetadata::DataView,
                                         ::storage::mojom::IdbOriginMetadataPtr> {};


template <>
struct  StructTraits<::storage::mojom::IdbStorageKeyMetadata::DataView,
                                         ::storage::mojom::IdbStorageKeyMetadataPtr> {};


template <>
struct  StructTraits<::storage::mojom::IdbBucketMetadata::DataView,
                                         ::storage::mojom::IdbBucketMetadataPtr> {};


template <>
struct  StructTraits<::storage::mojom::IdbDatabaseMetadata::DataView,
                                         ::storage::mojom::IdbDatabaseMetadataPtr> {};


template <>
struct  StructTraits<::storage::mojom::IdbTransactionMetadata::DataView,
                                         ::storage::mojom::IdbTransactionMetadataPtr> {};


template <>
struct  StructTraits<::storage::mojom::IdbTransactionMetadataStateHistory::DataView,
                                         ::storage::mojom::IdbTransactionMetadataStateHistoryPtr> {};

}  // namespace mojo

#endif  // COMPONENTS_SERVICES_STORAGE_PRIVILEGED_MOJOM_INDEXED_DB_INTERNALS_TYPES_MOJOM_H_