chromium/out/Default/gen/services/network/public/mojom/service_worker_router_info.mojom-shared.h

// services/network/public/mojom/service_worker_router_info.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 SERVICES_NETWORK_PUBLIC_MOJOM_SERVICE_WORKER_ROUTER_INFO_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_SERVICE_WORKER_ROUTER_INFO_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 "services/network/public/mojom/service_worker_router_info.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"







namespace network::mojom {
class ServiceWorkerRouterInfoDataView;



}  // network::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::network::mojom::ServiceWorkerRouterInfoDataView> {};

}  // namespace internal
}  // namespace mojo


namespace network::mojom {


enum class ServiceWorkerRouterSourceType : int32_t {};

 std::ostream& operator<<(std::ostream& os, ServiceWorkerRouterSourceType value);
inline bool IsKnownEnumValue(ServiceWorkerRouterSourceType value) {}


enum class ServiceWorkerStatus : int32_t {};

 std::ostream& operator<<(std::ostream& os, ServiceWorkerStatus value);
inline bool IsKnownEnumValue(ServiceWorkerStatus value) {}


class ServiceWorkerRouterInfoDataView {};


}  // network::mojom

namespace std {

template <>
struct hash<::network::mojom::ServiceWorkerRouterSourceType>
    : public mojo::internal::EnumHashImpl<::network::mojom::ServiceWorkerRouterSourceType> {};

template <>
struct hash<::network::mojom::ServiceWorkerStatus>
    : public mojo::internal::EnumHashImpl<::network::mojom::ServiceWorkerStatus> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::network::mojom::ServiceWorkerRouterSourceType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::ServiceWorkerStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::ServiceWorkerRouterInfoDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace network::mojom {

inline void ServiceWorkerRouterInfoDataView::GetRouterEvaluationTimeDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}



}  // network::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::ServiceWorkerRouterSourceType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::ServiceWorkerStatus> {};

} // namespace perfetto

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_SERVICE_WORKER_ROUTER_INFO_MOJOM_SHARED_H_