chromium/out/Default/gen/services/network/public/mojom/network_isolation_key.mojom.h

// services/network/public/mojom/network_isolation_key.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 SERVICES_NETWORK_PUBLIC_MOJOM_NETWORK_ISOLATION_KEY_MOJOM_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_NETWORK_ISOLATION_KEY_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 "services/network/public/mojom/network_isolation_key.mojom-features.h"  // IWYU pragma: export
#include "services/network/public/mojom/network_isolation_key.mojom-shared.h"  // IWYU pragma: export
#include "services/network/public/mojom/network_isolation_key.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/unguessable_token.mojom.h"
#include "services/network/public/mojom/schemeful_site.mojom.h"
#include <string>
#include <vector>




#include "services/network/public/cpp/network_isolation_key_mojom_traits.h"




namespace network::mojom {





class  EmptyNetworkIsolationKey {};

// 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, EmptyNetworkIsolationKey::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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






class  NetworkIsolationKey {};






class  NonEmptyNetworkIsolationKey {};

// 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, NonEmptyNetworkIsolationKey::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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

template <typename UnionPtrType>
NetworkIsolationKeyPtr NetworkIsolationKey::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, NetworkIsolationKey>::value>::type*>
bool NetworkIsolationKey::Equals(const T& other) const {}
template <typename StructPtrType>
EmptyNetworkIsolationKeyPtr EmptyNetworkIsolationKey::Clone() const {}

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

template <typename T, EmptyNetworkIsolationKey::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
NonEmptyNetworkIsolationKeyPtr NonEmptyNetworkIsolationKey::Clone() const {}

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

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


}  // network::mojom

namespace mojo {


template <>
struct  StructTraits<::network::mojom::EmptyNetworkIsolationKey::DataView,
                                         ::network::mojom::EmptyNetworkIsolationKeyPtr> {};


template <>
struct  StructTraits<::network::mojom::NonEmptyNetworkIsolationKey::DataView,
                                         ::network::mojom::NonEmptyNetworkIsolationKeyPtr> {};


template <>
struct  UnionTraits<::network::mojom::NetworkIsolationKey::DataView,
                                        ::network::mojom::NetworkIsolationKeyPtr> {};

}  // namespace mojo

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_NETWORK_ISOLATION_KEY_MOJOM_H_