chromium/out/Default/gen/components/spellcheck/common/spellcheck.mojom-shared.h

// components/spellcheck/common/spellcheck.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_SPELLCHECK_COMMON_SPELLCHECK_MOJOM_SHARED_H_
#define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_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/spellcheck/common/spellcheck.mojom-shared-internal.h"
#include "mojo/public/mojom/base/read_only_file.mojom-shared.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace spellcheck::mojom {
class SpellCheckBDictLanguageDataView;

class SpellCheckResultDataView;



}  // spellcheck::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::spellcheck::mojom::SpellCheckBDictLanguageDataView> {};

template <>
struct MojomTypeTraits<::spellcheck::mojom::SpellCheckResultDataView> {};

}  // namespace internal
}  // namespace mojo


namespace spellcheck::mojom {


enum class Decoration : int32_t {};

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

SpellCheckerPtrDataView;
SpellCheckerRequestDataView;
SpellCheckerAssociatedPtrInfoDataView;
SpellCheckerAssociatedRequestDataView;
class SpellCheckInitializationHostInterfaceBase {};

SpellCheckInitializationHostPtrDataView;
SpellCheckInitializationHostRequestDataView;
SpellCheckInitializationHostAssociatedPtrInfoDataView;
SpellCheckInitializationHostAssociatedRequestDataView;
class SpellCheckHostInterfaceBase {};

SpellCheckHostPtrDataView;
SpellCheckHostRequestDataView;
SpellCheckHostAssociatedPtrInfoDataView;
SpellCheckHostAssociatedRequestDataView;


class SpellCheckBDictLanguageDataView {};


class SpellCheckResultDataView {};


}  // spellcheck::mojom

namespace std {

template <>
struct hash<::spellcheck::mojom::Decoration>
    : public mojo::internal::EnumHashImpl<::spellcheck::mojom::Decoration> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::spellcheck::mojom::Decoration, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::spellcheck::mojom::SpellCheckBDictLanguageDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::spellcheck::mojom::SpellCheckResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace spellcheck::mojom {

inline void SpellCheckBDictLanguageDataView::GetFileDataView(
    ::mojo_base::mojom::ReadOnlyFileDataView* output) {}
inline void SpellCheckBDictLanguageDataView::GetLanguageDataView(
    mojo::StringDataView* output) {}


inline void SpellCheckResultDataView::GetReplacementsDataView(
    mojo::ArrayDataView<::mojo_base::mojom::String16DataView>* output) {}



}  // spellcheck::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::spellcheck::mojom::Decoration> {};

} // namespace perfetto

#endif  // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_MOJOM_SHARED_H_