#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"
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-shared.h"
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-forward.h"
#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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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 { … };
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) { … }
}
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> { … };
}
#endif