#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;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::translate::mojom::LanguageDetectionDetailsDataView> { … };
}
}
namespace translate::mojom {
enum class TranslateError : int32_t { … };
std::ostream& operator<<(std::ostream& os, TranslateError value);
inline bool IsKnownEnumValue(TranslateError value) { … }
class TranslateAgentInterfaceBase { … };
TranslateAgentPtrDataView;
TranslateAgentRequestDataView;
TranslateAgentAssociatedPtrInfoDataView;
TranslateAgentAssociatedRequestDataView;
class ContentTranslateDriverInterfaceBase { … };
ContentTranslateDriverPtrDataView;
ContentTranslateDriverRequestDataView;
ContentTranslateDriverAssociatedPtrInfoDataView;
ContentTranslateDriverAssociatedRequestDataView;
class LanguageDetectionDetailsDataView { … };
}
namespace std {
template <>
struct hash<::translate::mojom::TranslateError>
: public mojo::internal::EnumHashImpl<::translate::mojom::TranslateError> { … };
}
namespace mojo {
namespace internal {
Serializer< ::translate::mojom::TranslateError, MaybeConstUserType>;
}
namespace internal {
Serializer< ::translate::mojom::LanguageDetectionDetailsDataView, MaybeConstUserType>;
}
}
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) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::translate::mojom::TranslateError> { … };
}
#endif