#include "components/translate/content/common/translate.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "components/translate/content/common/translate.mojom-params-data.h"
namespace translate {
namespace mojom {
NOINLINE static const char* TranslateErrorToStringHelper(TranslateError value) { … }
std::string TranslateErrorToString(TranslateError value) { … }
std::ostream& operator<<(std::ostream& os, TranslateError value) { … }
namespace internal {
bool LanguageDetectionDetails_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LanguageDetectionDetails_Data::LanguageDetectionDetails_Data()
: … { … }
bool TranslateAgent_TranslateFrame_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TranslateAgent_TranslateFrame_Params_Data::TranslateAgent_TranslateFrame_Params_Data()
: … { … }
bool TranslateAgent_TranslateFrame_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TranslateAgent_TranslateFrame_ResponseParams_Data::TranslateAgent_TranslateFrame_ResponseParams_Data()
: … { … }
bool TranslateAgent_RevertTranslation_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TranslateAgent_RevertTranslation_Params_Data::TranslateAgent_RevertTranslation_Params_Data()
: … { … }
bool ContentTranslateDriver_RegisterPage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ContentTranslateDriver_RegisterPage_Params_Data::ContentTranslateDriver_RegisterPage_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::translate::mojom::TranslateError>::WriteIntoTrace(
perfetto::TracedValue context, ::translate::mojom::TranslateError value) { … }
}