#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;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::spellcheck::mojom::SpellCheckBDictLanguageDataView> { … };
template <>
struct MojomTypeTraits<::spellcheck::mojom::SpellCheckResultDataView> { … };
}
}
namespace spellcheck::mojom {
enum class Decoration : int32_t { … };
std::ostream& operator<<(std::ostream& os, Decoration value);
inline bool IsKnownEnumValue(Decoration value) { … }
class SpellCheckerInterfaceBase { … };
SpellCheckerPtrDataView;
SpellCheckerRequestDataView;
SpellCheckerAssociatedPtrInfoDataView;
SpellCheckerAssociatedRequestDataView;
class SpellCheckInitializationHostInterfaceBase { … };
SpellCheckInitializationHostPtrDataView;
SpellCheckInitializationHostRequestDataView;
SpellCheckInitializationHostAssociatedPtrInfoDataView;
SpellCheckInitializationHostAssociatedRequestDataView;
class SpellCheckHostInterfaceBase { … };
SpellCheckHostPtrDataView;
SpellCheckHostRequestDataView;
SpellCheckHostAssociatedPtrInfoDataView;
SpellCheckHostAssociatedRequestDataView;
class SpellCheckBDictLanguageDataView { … };
class SpellCheckResultDataView { … };
}
namespace std {
template <>
struct hash<::spellcheck::mojom::Decoration>
: public mojo::internal::EnumHashImpl<::spellcheck::mojom::Decoration> { … };
}
namespace mojo {
namespace internal {
Serializer< ::spellcheck::mojom::Decoration, MaybeConstUserType>;
}
namespace internal {
Serializer< ::spellcheck::mojom::SpellCheckBDictLanguageDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::spellcheck::mojom::SpellCheckResultDataView, MaybeConstUserType>;
}
}
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) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::spellcheck::mojom::Decoration> { … };
}
#endif