chromium/out/Default/gen/components/history/core/browser/mojom/history_types.mojom-shared.h

// components/history/core/browser/mojom/history_types.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 COMPONENTS_HISTORY_CORE_BROWSER_MOJOM_HISTORY_TYPES_MOJOM_SHARED_H_
#define COMPONENTS_HISTORY_CORE_BROWSER_MOJOM_HISTORY_TYPES_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 "components/history/core/browser/mojom/history_types.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"







namespace history::mojom {
class TabDataView;



}  // history::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::history::mojom::TabDataView> {};

}  // namespace internal
}  // namespace mojo


namespace history::mojom {


enum class DeviceType : int32_t {};

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


enum class Decorator : int32_t {};

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


class TabDataView {};


}  // history::mojom

namespace std {

template <>
struct hash<::history::mojom::DeviceType>
    : public mojo::internal::EnumHashImpl<::history::mojom::DeviceType> {};

template <>
struct hash<::history::mojom::Decorator>
    : public mojo::internal::EnumHashImpl<::history::mojom::Decorator> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::history::mojom::DeviceType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history::mojom::Decorator, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history::mojom::TabDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace history::mojom {

inline void TabDataView::GetSessionNameDataView(
    mojo::StringDataView* output) {}
inline void TabDataView::GetUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void TabDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void TabDataView::GetRelativeTimeDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}
inline void TabDataView::GetRelativeTimeTextDataView(
    mojo::StringDataView* output) {}
inline void TabDataView::GetTimestampDataView(
    ::mojo_base::mojom::TimeDataView* output) {}
inline void TabDataView::GetUrlKeyDataView(
    mojo::StringDataView* output) {}



}  // history::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::history::mojom::DeviceType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::history::mojom::Decorator> {};

} // namespace perfetto

#endif  // COMPONENTS_HISTORY_CORE_BROWSER_MOJOM_HISTORY_TYPES_MOJOM_SHARED_H_