#include "chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption.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 "chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption.mojom-params-data.h"
namespace ntp {
namespace most_relevant_tab_resumption {
namespace mojom {
NOINLINE static const char* ScoredURLUserActionToStringHelper(ScoredURLUserAction value) { … }
std::string ScoredURLUserActionToString(ScoredURLUserAction value) { … }
std::ostream& operator<<(std::ostream& os, ScoredURLUserAction value) { … }
namespace internal {
bool PageHandler_GetTabs_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageHandler_GetTabs_Params_Data::PageHandler_GetTabs_Params_Data()
: … { … }
bool PageHandler_GetTabs_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageHandler_GetTabs_ResponseParams_Data::PageHandler_GetTabs_ResponseParams_Data()
: … { … }
bool PageHandler_DismissModule_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageHandler_DismissModule_Params_Data::PageHandler_DismissModule_Params_Data()
: … { … }
bool PageHandler_DismissTab_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageHandler_DismissTab_Params_Data::PageHandler_DismissTab_Params_Data()
: … { … }
bool PageHandler_RestoreModule_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageHandler_RestoreModule_Params_Data::PageHandler_RestoreModule_Params_Data()
: … { … }
bool PageHandler_RestoreTab_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageHandler_RestoreTab_Params_Data::PageHandler_RestoreTab_Params_Data()
: … { … }
bool PageHandler_RecordAction_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PageHandler_RecordAction_Params_Data::PageHandler_RecordAction_Params_Data()
: … { … }
}
}
}
}
namespace perfetto {
void TraceFormatTraits<::ntp::most_relevant_tab_resumption::mojom::ScoredURLUserAction>::WriteIntoTrace(
perfetto::TracedValue context, ::ntp::most_relevant_tab_resumption::mojom::ScoredURLUserAction value) { … }
}