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

// services/network/public/mojom/network_service_test.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_NETWORK_SERVICE_TEST_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_NETWORK_SERVICE_TEST_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/network_service_test.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file.mojom-shared.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/mojom/base/memory_pressure_level.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "services/network/public/mojom/address_list.mojom-shared.h"
#include "services/network/public/mojom/host_resolver.mojom-shared.h"
#include "services/network/public/mojom/network_change_manager.mojom-shared.h"
#include "services/network/public/mojom/network_interface_change_listener.mojom-shared.h"
#include "services/network/public/mojom/network_param.mojom-shared.h"
#include "services/network/public/mojom/network_types.mojom-shared.h"
#include "services/network/public/mojom/http_cache_backend_file_operations.mojom-shared.h"
#include "services/network/public/mojom/ip_endpoint.mojom-shared.h"
#include "services/network/public/mojom/transferable_socket.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace network::mojom {
class RuleDataView;

class SimpleCacheOpenEntryResultDataView;



}  // network::mojom

namespace mojo {
namespace internal {

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

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

}  // namespace internal
}  // namespace mojo


namespace network::mojom {


enum class ResolverType : int32_t {};

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

SimpleCacheEntryPtrDataView;
SimpleCacheEntryRequestDataView;
SimpleCacheEntryAssociatedPtrInfoDataView;
SimpleCacheEntryAssociatedRequestDataView;
class SimpleCacheEntryEnumeratorInterfaceBase {};

SimpleCacheEntryEnumeratorPtrDataView;
SimpleCacheEntryEnumeratorRequestDataView;
SimpleCacheEntryEnumeratorAssociatedPtrInfoDataView;
SimpleCacheEntryEnumeratorAssociatedRequestDataView;
class SimpleCacheInterfaceBase {};

SimpleCachePtrDataView;
SimpleCacheRequestDataView;
SimpleCacheAssociatedPtrInfoDataView;
SimpleCacheAssociatedRequestDataView;
class NetworkServiceTestInterfaceBase {};

NetworkServiceTestPtrDataView;
NetworkServiceTestRequestDataView;
NetworkServiceTestAssociatedPtrInfoDataView;
NetworkServiceTestAssociatedRequestDataView;


class RuleDataView {};


class SimpleCacheOpenEntryResultDataView {};


}  // network::mojom

namespace std {

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

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace network::mojom {

inline void RuleDataView::GetHostPatternDataView(
    mojo::StringDataView* output) {}
inline void RuleDataView::GetReplacementDataView(
    mojo::StringDataView* output) {}
inline void RuleDataView::GetDnsAliasesDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}


inline void SimpleCacheOpenEntryResultDataView::GetKeyDataView(
    mojo::StringDataView* output) {}



}  // network::mojom

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

namespace perfetto {

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

} // namespace perfetto

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_NETWORK_SERVICE_TEST_MOJOM_SHARED_H_