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

// services/network/public/mojom/tcp_socket.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_TCP_SOCKET_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_TCP_SOCKET_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/tcp_socket.mojom-shared-internal.h"
#include "services/network/public/mojom/address_list.mojom-shared.h"
#include "services/network/public/mojom/ip_endpoint.mojom-shared.h"
#include "services/network/public/mojom/optional_bool.mojom-shared.h"
#include "services/network/public/mojom/ssl_config.mojom-shared.h"
#include "services/network/public/mojom/tls_socket.mojom-shared.h"
#include "services/network/public/mojom/network_param.mojom-shared.h"
#include "services/network/public/mojom/mutable_network_traffic_annotation_tag.mojom-shared.h"
#include "services/network/public/mojom/socket_connection_tracker.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace network::mojom {
class TCPKeepAliveOptionsDataView;

class TCPConnectedSocketOptionsDataView;

class TCPServerSocketOptionsDataView;



}  // network::mojom

namespace mojo {
namespace internal {

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

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

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

}  // namespace internal
}  // namespace mojo


namespace network::mojom {
// Interface base classes. They are used for type safety check.
class TCPBoundSocketInterfaceBase {};

TCPBoundSocketPtrDataView;
TCPBoundSocketRequestDataView;
TCPBoundSocketAssociatedPtrInfoDataView;
TCPBoundSocketAssociatedRequestDataView;
class TCPConnectedSocketInterfaceBase {};

TCPConnectedSocketPtrDataView;
TCPConnectedSocketRequestDataView;
TCPConnectedSocketAssociatedPtrInfoDataView;
TCPConnectedSocketAssociatedRequestDataView;
class SocketObserverInterfaceBase {};

SocketObserverPtrDataView;
SocketObserverRequestDataView;
SocketObserverAssociatedPtrInfoDataView;
SocketObserverAssociatedRequestDataView;
class TCPServerSocketInterfaceBase {};

TCPServerSocketPtrDataView;
TCPServerSocketRequestDataView;
TCPServerSocketAssociatedPtrInfoDataView;
TCPServerSocketAssociatedRequestDataView;


class TCPKeepAliveOptionsDataView {};


class TCPConnectedSocketOptionsDataView {};


class TCPServerSocketOptionsDataView {};


}  // network::mojom

namespace std {

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace network::mojom {



inline void TCPConnectedSocketOptionsDataView::GetKeepAliveOptionsDataView(
    TCPKeepAliveOptionsDataView* output) {}





}  // network::mojom

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

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_TCP_SOCKET_MOJOM_SHARED_H_