chromium/out/Default/gen/services/device/public/mojom/pressure_update.mojom-shared.h

// services/device/public/mojom/pressure_update.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_DEVICE_PUBLIC_MOJOM_PRESSURE_UPDATE_MOJOM_SHARED_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_PRESSURE_UPDATE_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/device/public/mojom/pressure_update.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"







namespace device::mojom {
class PressureUpdateDataView;



}  // device::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::device::mojom::PressureUpdateDataView> {};

}  // namespace internal
}  // namespace mojo


namespace device::mojom {


enum class PressureSource : int32_t {};

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


enum class PressureState : int32_t {};

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


class PressureUpdateDataView {};


}  // device::mojom

namespace std {

template <>
struct hash<::device::mojom::PressureSource>
    : public mojo::internal::EnumHashImpl<::device::mojom::PressureSource> {};

template <>
struct hash<::device::mojom::PressureState>
    : public mojo::internal::EnumHashImpl<::device::mojom::PressureState> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::device::mojom::PressureSource, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::device::mojom::PressureState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::device::mojom::PressureUpdateDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace device::mojom {

inline void PressureUpdateDataView::GetTimestampDataView(
    ::mojo_base::mojom::TimeTicksDataView* output) {}



}  // device::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::device::mojom::PressureSource> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::device::mojom::PressureState> {};

} // namespace perfetto

#endif  // SERVICES_DEVICE_PUBLIC_MOJOM_PRESSURE_UPDATE_MOJOM_SHARED_H_