chromium/out/Default/gen/services/service_manager/public/mojom/connector.mojom-shared.h

// services/service_manager/public/mojom/connector.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_SERVICE_MANAGER_PUBLIC_MOJOM_CONNECTOR_MOJOM_SHARED_H_
#define SERVICES_SERVICE_MANAGER_PUBLIC_MOJOM_CONNECTOR_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/service_manager/public/mojom/connector.mojom-shared-internal.h"
#include "mojo/public/mojom/base/process_id.mojom-shared.h"
#include "mojo/public/mojom/base/token.mojom-shared.h"
#include "services/service_manager/public/mojom/constants.mojom-shared.h"
#include "services/service_manager/public/mojom/interface_provider.mojom-shared.h"
#include "services/service_manager/public/mojom/service_filter.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"


#include "base/component_export.h"




namespace service_manager::mojom {
class IdentityDataView;

class ServiceInfoDataView;



}  // service_manager::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::service_manager::mojom::IdentityDataView> {};

template <>
struct MojomTypeTraits<::service_manager::mojom::ServiceInfoDataView> {};

}  // namespace internal
}  // namespace mojo


namespace service_managermojom  // service_manager::mojom

namespace std {

template <>
struct hash<::service_manager::mojom::ConnectResult>
    : public mojo::internal::EnumHashImpl<::service_manager::mojom::ConnectResult> {};

template <>
struct hash<::service_manager::mojom::BindInterfacePriority>
    : public mojo::internal::EnumHashImpl<::service_manager::mojom::BindInterfacePriority> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::service_manager::mojom::ConnectResult, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::service_manager::mojom::BindInterfacePriority, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::service_manager::mojom::IdentityDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::service_manager::mojom::ServiceInfoDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace service_manager::mojom {

inline void IdentityDataView::GetNameDataView(
    mojo::StringDataView* output) {}
inline void IdentityDataView::GetInstanceGroupDataView(
    ::mojo_base::mojom::TokenDataView* output) {}
inline void IdentityDataView::GetInstanceIdDataView(
    ::mojo_base::mojom::TokenDataView* output) {}
inline void IdentityDataView::GetGloballyUniqueIdDataView(
    ::mojo_base::mojom::TokenDataView* output) {}


inline void ServiceInfoDataView::GetSandboxTypeDataView(
    mojo::StringDataView* output) {}



}  // service_manager::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(SERVICE_MANAGER_MOJOM_SHARED) TraceFormatTraits<::service_manager::mojom::ConnectResult> {};

} // namespace perfetto

namespace perfetto {

template <>
struct COMPONENT_EXPORT(SERVICE_MANAGER_MOJOM_SHARED) TraceFormatTraits<::service_manager::mojom::BindInterfacePriority> {};

} // namespace perfetto

#endif  // SERVICES_SERVICE_MANAGER_PUBLIC_MOJOM_CONNECTOR_MOJOM_SHARED_H_