#include "components/continuous_search/common/public/mojom/continuous_search.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/continuous_search/common/public/mojom/continuous_search.mojom-params-data.h"
namespace continuous_search {
namespace mojom {
NOINLINE static const char* ResultTypeToStringHelper(ResultType value) { … }
std::string ResultTypeToString(ResultType value) { … }
std::ostream& operator<<(std::ostream& os, ResultType value) { … }
NOINLINE static const char* CategoryToStringHelper(Category value) { … }
std::string CategoryToString(Category value) { … }
std::ostream& operator<<(std::ostream& os, Category value) { … }
NOINLINE static const char* SearchResultExtractor_StatusToStringHelper(SearchResultExtractor_Status value) { … }
std::string SearchResultExtractor_StatusToString(SearchResultExtractor_Status value) { … }
std::ostream& operator<<(std::ostream& os, SearchResultExtractor_Status value) { … }
namespace internal {
bool SearchResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SearchResult_Data::SearchResult_Data()
: … { … }
bool ResultGroup_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ResultGroup_Data::ResultGroup_Data()
: … { … }
bool CategoryResults_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CategoryResults_Data::CategoryResults_Data()
: … { … }
bool SearchResultExtractor_ExtractCurrentSearchResults_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SearchResultExtractor_ExtractCurrentSearchResults_Params_Data::SearchResultExtractor_ExtractCurrentSearchResults_Params_Data()
: … { … }
bool SearchResultExtractor_ExtractCurrentSearchResults_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SearchResultExtractor_ExtractCurrentSearchResults_ResponseParams_Data::SearchResultExtractor_ExtractCurrentSearchResults_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::continuous_search::mojom::ResultType>::WriteIntoTrace(
perfetto::TracedValue context, ::continuous_search::mojom::ResultType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::continuous_search::mojom::Category>::WriteIntoTrace(
perfetto::TracedValue context, ::continuous_search::mojom::Category value) { … }
}
namespace perfetto {
void TraceFormatTraits<::continuous_search::mojom::SearchResultExtractor_Status>::WriteIntoTrace(
perfetto::TracedValue context, ::continuous_search::mojom::SearchResultExtractor_Status value) { … }
}