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

// components/translate/content/common/translate.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_TRANSLATE_CONTENT_COMMON_TRANSLATE_MOJOM_SHARED_H_
#define COMPONENTS_TRANSLATE_CONTENT_COMMON_TRANSLATE_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/translate/content/common/translate.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace translate::mojom {
class LanguageDetectionDetailsDataView;



}  // translate::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::translate::mojom::LanguageDetectionDetailsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace translate::mojom {


enum class TranslateError : int32_t {};

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

TranslateAgentPtrDataView;
TranslateAgentRequestDataView;
TranslateAgentAssociatedPtrInfoDataView;
TranslateAgentAssociatedRequestDataView;
class ContentTranslateDriverInterfaceBase {};

ContentTranslateDriverPtrDataView;
ContentTranslateDriverRequestDataView;
ContentTranslateDriverAssociatedPtrInfoDataView;
ContentTranslateDriverAssociatedRequestDataView;


class LanguageDetectionDetailsDataView {};


}  // translate::mojom

namespace std {

template <>
struct hash<::translate::mojom::TranslateError>
    : public mojo::internal::EnumHashImpl<::translate::mojom::TranslateError> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::translate::mojom::TranslateError, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::translate::mojom::LanguageDetectionDetailsDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace translate::mojom {

inline void LanguageDetectionDetailsDataView::GetUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void LanguageDetectionDetailsDataView::GetAdoptedLanguageDataView(
    mojo::StringDataView* output) {}
inline void LanguageDetectionDetailsDataView::GetTimeDataView(
    ::mojo_base::mojom::TimeDataView* output) {}
inline void LanguageDetectionDetailsDataView::GetContentLanguageDataView(
    mojo::StringDataView* output) {}
inline void LanguageDetectionDetailsDataView::GetModelDetectedLanguageDataView(
    mojo::StringDataView* output) {}
inline void LanguageDetectionDetailsDataView::GetHtmlRootLanguageDataView(
    mojo::StringDataView* output) {}
inline void LanguageDetectionDetailsDataView::GetContentsDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void LanguageDetectionDetailsDataView::GetDetectionModelVersionDataView(
    mojo::StringDataView* output) {}



}  // translate::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::translate::mojom::TranslateError> {};

} // namespace perfetto

#endif  // COMPONENTS_TRANSLATE_CONTENT_COMMON_TRANSLATE_MOJOM_SHARED_H_