#include "chrome/browser/lens/core/mojom/lens.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/lens/core/mojom/lens.mojom-params-data.h"
namespace lens {
namespace mojom {
NOINLINE static const char* UserActionToStringHelper(UserAction value) { … }
std::string UserActionToString(UserAction value) { … }
std::ostream& operator<<(std::ostream& os, UserAction value) { … }
namespace internal {
bool OverlayTheme_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OverlayTheme_Data::OverlayTheme_Data()
: … { … }
bool LensPageHandlerFactory_CreatePageHandler_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandlerFactory_CreatePageHandler_Params_Data::LensPageHandlerFactory_CreatePageHandler_Params_Data()
: … { … }
bool LensPageHandlerFactory_CreateSidePanelPageHandler_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandlerFactory_CreateSidePanelPageHandler_Params_Data::LensPageHandlerFactory_CreateSidePanelPageHandler_Params_Data()
: … { … }
bool LensPageHandler_ActivityRequestedByOverlay_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_ActivityRequestedByOverlay_Params_Data::LensPageHandler_ActivityRequestedByOverlay_Params_Data()
: … { … }
bool LensPageHandler_CloseRequestedByOverlayCloseButton_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_CloseRequestedByOverlayCloseButton_Params_Data::LensPageHandler_CloseRequestedByOverlayCloseButton_Params_Data()
: … { … }
bool LensPageHandler_CloseRequestedByOverlayBackgroundClick_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_CloseRequestedByOverlayBackgroundClick_Params_Data::LensPageHandler_CloseRequestedByOverlayBackgroundClick_Params_Data()
: … { … }
bool LensPageHandler_NotifyOverlayInitialized_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_NotifyOverlayInitialized_Params_Data::LensPageHandler_NotifyOverlayInitialized_Params_Data()
: … { … }
bool LensPageHandler_AddBackgroundBlur_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_AddBackgroundBlur_Params_Data::LensPageHandler_AddBackgroundBlur_Params_Data()
: … { … }
bool LensPageHandler_FeedbackRequestedByOverlay_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_FeedbackRequestedByOverlay_Params_Data::LensPageHandler_FeedbackRequestedByOverlay_Params_Data()
: … { … }
bool LensPageHandler_GetOverlayInvocationSource_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_GetOverlayInvocationSource_Params_Data::LensPageHandler_GetOverlayInvocationSource_Params_Data()
: … { … }
bool LensPageHandler_GetOverlayInvocationSource_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_GetOverlayInvocationSource_ResponseParams_Data::LensPageHandler_GetOverlayInvocationSource_ResponseParams_Data()
: … { … }
bool LensPageHandler_InfoRequestedByOverlay_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_InfoRequestedByOverlay_Params_Data::LensPageHandler_InfoRequestedByOverlay_Params_Data()
: … { … }
bool LensPageHandler_IssueLensRegionRequest_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_IssueLensRegionRequest_Params_Data::LensPageHandler_IssueLensRegionRequest_Params_Data()
: … { … }
bool LensPageHandler_IssueLensObjectRequest_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_IssueLensObjectRequest_Params_Data::LensPageHandler_IssueLensObjectRequest_Params_Data()
: … { … }
bool LensPageHandler_IssueTextSelectionRequest_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_IssueTextSelectionRequest_Params_Data::LensPageHandler_IssueTextSelectionRequest_Params_Data()
: … { … }
bool LensPageHandler_IssueTranslateSelectionRequest_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_IssueTranslateSelectionRequest_Params_Data::LensPageHandler_IssueTranslateSelectionRequest_Params_Data()
: … { … }
bool LensPageHandler_IssueTranslateFullPageRequest_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_IssueTranslateFullPageRequest_Params_Data::LensPageHandler_IssueTranslateFullPageRequest_Params_Data()
: … { … }
bool LensPageHandler_CloseSearchBubble_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_CloseSearchBubble_Params_Data::LensPageHandler_CloseSearchBubble_Params_Data()
: … { … }
bool LensPageHandler_CopyText_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_CopyText_Params_Data::LensPageHandler_CopyText_Params_Data()
: … { … }
bool LensPageHandler_CopyImage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_CopyImage_Params_Data::LensPageHandler_CopyImage_Params_Data()
: … { … }
bool LensPageHandler_SaveAsImage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_SaveAsImage_Params_Data::LensPageHandler_SaveAsImage_Params_Data()
: … { … }
bool LensPageHandler_ClosePreselectionBubble_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_ClosePreselectionBubble_Params_Data::LensPageHandler_ClosePreselectionBubble_Params_Data()
: … { … }
bool LensPageHandler_RecordUkmAndTaskCompletionForLensOverlayInteraction_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPageHandler_RecordUkmAndTaskCompletionForLensOverlayInteraction_Params_Data::LensPageHandler_RecordUkmAndTaskCompletionForLensOverlayInteraction_Params_Data()
: … { … }
bool LensPage_ScreenshotDataReceived_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_ScreenshotDataReceived_Params_Data::LensPage_ScreenshotDataReceived_Params_Data()
: … { … }
bool LensPage_NotifyResultsPanelOpened_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_NotifyResultsPanelOpened_Params_Data::LensPage_NotifyResultsPanelOpened_Params_Data()
: … { … }
bool LensPage_NotifyOverlayClosing_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_NotifyOverlayClosing_Params_Data::LensPage_NotifyOverlayClosing_Params_Data()
: … { … }
bool LensPage_ObjectsReceived_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_ObjectsReceived_Params_Data::LensPage_ObjectsReceived_Params_Data()
: … { … }
bool LensPage_TextReceived_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_TextReceived_Params_Data::LensPage_TextReceived_Params_Data()
: … { … }
bool LensPage_ThemeReceived_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_ThemeReceived_Params_Data::LensPage_ThemeReceived_Params_Data()
: … { … }
bool LensPage_SetPostRegionSelection_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_SetPostRegionSelection_Params_Data::LensPage_SetPostRegionSelection_Params_Data()
: … { … }
bool LensPage_SetTextSelection_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_SetTextSelection_Params_Data::LensPage_SetTextSelection_Params_Data()
: … { … }
bool LensPage_ClearRegionSelection_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_ClearRegionSelection_Params_Data::LensPage_ClearRegionSelection_Params_Data()
: … { … }
bool LensPage_ClearTextSelection_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_ClearTextSelection_Params_Data::LensPage_ClearTextSelection_Params_Data()
: … { … }
bool LensPage_ClearAllSelections_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_ClearAllSelections_Params_Data::LensPage_ClearAllSelections_Params_Data()
: … { … }
bool LensPage_TriggerCopyText_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensPage_TriggerCopyText_Params_Data::LensPage_TriggerCopyText_Params_Data()
: … { … }
bool LensSidePanelPageHandler_PopAndLoadQueryFromHistory_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensSidePanelPageHandler_PopAndLoadQueryFromHistory_Params_Data::LensSidePanelPageHandler_PopAndLoadQueryFromHistory_Params_Data()
: … { … }
bool LensSidePanelPage_LoadResultsInFrame_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensSidePanelPage_LoadResultsInFrame_Params_Data::LensSidePanelPage_LoadResultsInFrame_Params_Data()
: … { … }
bool LensSidePanelPage_SetIsLoadingResults_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensSidePanelPage_SetIsLoadingResults_Params_Data::LensSidePanelPage_SetIsLoadingResults_Params_Data()
: … { … }
bool LensSidePanelPage_SetBackArrowVisible_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensSidePanelPage_SetBackArrowVisible_Params_Data::LensSidePanelPage_SetBackArrowVisible_Params_Data()
: … { … }
bool LensSidePanelPage_SetShowErrorPage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LensSidePanelPage_SetShowErrorPage_Params_Data::LensSidePanelPage_SetShowErrorPage_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::lens::mojom::UserAction>::WriteIntoTrace(
perfetto::TracedValue context, ::lens::mojom::UserAction value) { … }
}