chromium/out/Default/gen/chrome/browser/ui/webui/new_tab_page/new_tab_page.mojom-shared.cc

// chrome/browser/ui/webui/new_tab_page/new_tab_page.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/webui/new_tab_page/new_tab_page.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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/ui/webui/new_tab_page/new_tab_page.mojom-params-data.h"
namespace new_tab_page {
namespace mojom {

NOINLINE static const char* NtpBackgroundImageSourceToStringHelper(NtpBackgroundImageSource value) {}

std::string NtpBackgroundImageSourceToString(NtpBackgroundImageSource value) {}

std::ostream& operator<<(std::ostream& os, NtpBackgroundImageSource value) {}

NOINLINE static const char* IphFeatureToStringHelper(IphFeature value) {}

std::string IphFeatureToString(IphFeature value) {}

std::ostream& operator<<(std::ostream& os, IphFeature value) {}

NOINLINE static const char* DoodleImageTypeToStringHelper(DoodleImageType value) {}

std::string DoodleImageTypeToString(DoodleImageType value) {}

std::ostream& operator<<(std::ostream& os, DoodleImageType value) {}

NOINLINE static const char* DoodleShareChannelToStringHelper(DoodleShareChannel value) {}

std::string DoodleShareChannelToString(DoodleShareChannel value) {}

std::ostream& operator<<(std::ostream& os, DoodleShareChannel value) {}

NOINLINE static const char* CustomizeChromeSectionToStringHelper(CustomizeChromeSection value) {}

std::string CustomizeChromeSectionToString(CustomizeChromeSection value) {}

std::ostream& operator<<(std::ostream& os, CustomizeChromeSection value) {}

NOINLINE static const char* CustomizeDialogActionToStringHelper(CustomizeDialogAction value) {}

std::string CustomizeDialogActionToString(CustomizeDialogAction value) {}

std::ostream& operator<<(std::ostream& os, CustomizeDialogAction value) {}

NOINLINE static const char* OptInStatusToStringHelper(OptInStatus value) {}

std::string OptInStatusToString(OptInStatus value) {}

std::ostream& operator<<(std::ostream& os, OptInStatus value) {}

namespace internal {
// static
bool PromoPart_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}


// static
bool BackgroundCollection_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

BackgroundCollection_Data::BackgroundCollection_Data()
    :{}


// static
bool CollectionImage_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

CollectionImage_Data::CollectionImage_Data()
    :{}


// static
bool BackgroundImage_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

BackgroundImage_Data::BackgroundImage_Data()
    :{}


// static
bool Theme_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Theme_Data::Theme_Data()
    :{}


// static
bool ImageDoodle_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ImageDoodle_Data::ImageDoodle_Data()
    :{}


// static
bool AllModeImageDoodle_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

AllModeImageDoodle_Data::AllModeImageDoodle_Data()
    :{}


// static
bool InteractiveDoodle_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

InteractiveDoodle_Data::InteractiveDoodle_Data()
    :{}


// static
bool Doodle_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Doodle_Data::Doodle_Data()
    :{}


// static
bool PromoImagePart_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PromoImagePart_Data::PromoImagePart_Data()
    :{}


// static
bool PromoLinkPart_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PromoLinkPart_Data::PromoLinkPart_Data()
    :{}


// static
bool PromoTextPart_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PromoTextPart_Data::PromoTextPart_Data()
    :{}


// static
bool Promo_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Promo_Data::Promo_Data()
    :{}


// static
bool ModuleIdName_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ModuleIdName_Data::ModuleIdName_Data()
    :{}


// static
bool PageHandlerFactory_CreatePageHandler_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandlerFactory_CreatePageHandler_Params_Data::PageHandlerFactory_CreatePageHandler_Params_Data()
    :{}


// static
bool PageHandler_SetBackgroundImage_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetBackgroundImage_Params_Data::PageHandler_SetBackgroundImage_Params_Data()
    :{}


// static
bool PageHandler_SetDailyRefreshCollectionId_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetDailyRefreshCollectionId_Params_Data::PageHandler_SetDailyRefreshCollectionId_Params_Data()
    :{}


// static
bool PageHandler_SetNoBackgroundImage_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetNoBackgroundImage_Params_Data::PageHandler_SetNoBackgroundImage_Params_Data()
    :{}


// static
bool PageHandler_RevertBackgroundChanges_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_RevertBackgroundChanges_Params_Data::PageHandler_RevertBackgroundChanges_Params_Data()
    :{}


// static
bool PageHandler_ConfirmBackgroundChanges_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_ConfirmBackgroundChanges_Params_Data::PageHandler_ConfirmBackgroundChanges_Params_Data()
    :{}


// static
bool PageHandler_SetMostVisitedSettings_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetMostVisitedSettings_Params_Data::PageHandler_SetMostVisitedSettings_Params_Data()
    :{}


// static
bool PageHandler_GetMostVisitedSettings_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetMostVisitedSettings_Params_Data::PageHandler_GetMostVisitedSettings_Params_Data()
    :{}


// static
bool PageHandler_GetMostVisitedSettings_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetMostVisitedSettings_ResponseParams_Data::PageHandler_GetMostVisitedSettings_ResponseParams_Data()
    :{}


// static
bool PageHandler_GetBackgroundCollections_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetBackgroundCollections_Params_Data::PageHandler_GetBackgroundCollections_Params_Data()
    :{}


// static
bool PageHandler_GetBackgroundCollections_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetBackgroundCollections_ResponseParams_Data::PageHandler_GetBackgroundCollections_ResponseParams_Data()
    :{}


// static
bool PageHandler_GetBackgroundImages_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetBackgroundImages_Params_Data::PageHandler_GetBackgroundImages_Params_Data()
    :{}


// static
bool PageHandler_GetBackgroundImages_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetBackgroundImages_ResponseParams_Data::PageHandler_GetBackgroundImages_ResponseParams_Data()
    :{}


// static
bool PageHandler_GetDoodle_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetDoodle_Params_Data::PageHandler_GetDoodle_Params_Data()
    :{}


// static
bool PageHandler_GetDoodle_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetDoodle_ResponseParams_Data::PageHandler_GetDoodle_ResponseParams_Data()
    :{}


// static
bool PageHandler_ChooseLocalCustomBackground_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_ChooseLocalCustomBackground_Params_Data::PageHandler_ChooseLocalCustomBackground_Params_Data()
    :{}


// static
bool PageHandler_ChooseLocalCustomBackground_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_ChooseLocalCustomBackground_ResponseParams_Data::PageHandler_ChooseLocalCustomBackground_ResponseParams_Data()
    :{}


// static
bool PageHandler_UpdatePromoData_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_UpdatePromoData_Params_Data::PageHandler_UpdatePromoData_Params_Data()
    :{}


// static
bool PageHandler_BlocklistPromo_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_BlocklistPromo_Params_Data::PageHandler_BlocklistPromo_Params_Data()
    :{}


// static
bool PageHandler_UndoBlocklistPromo_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_UndoBlocklistPromo_Params_Data::PageHandler_UndoBlocklistPromo_Params_Data()
    :{}


// static
bool PageHandler_OnDismissModule_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnDismissModule_Params_Data::PageHandler_OnDismissModule_Params_Data()
    :{}


// static
bool PageHandler_OnRestoreModule_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnRestoreModule_Params_Data::PageHandler_OnRestoreModule_Params_Data()
    :{}


// static
bool PageHandler_SetModulesVisible_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetModulesVisible_Params_Data::PageHandler_SetModulesVisible_Params_Data()
    :{}


// static
bool PageHandler_SetModuleDisabled_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetModuleDisabled_Params_Data::PageHandler_SetModuleDisabled_Params_Data()
    :{}


// static
bool PageHandler_UpdateDisabledModules_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_UpdateDisabledModules_Params_Data::PageHandler_UpdateDisabledModules_Params_Data()
    :{}


// static
bool PageHandler_OnModulesLoadedWithData_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnModulesLoadedWithData_Params_Data::PageHandler_OnModulesLoadedWithData_Params_Data()
    :{}


// static
bool PageHandler_OnModuleUsed_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnModuleUsed_Params_Data::PageHandler_OnModuleUsed_Params_Data()
    :{}


// static
bool PageHandler_GetModulesIdNames_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetModulesIdNames_Params_Data::PageHandler_GetModulesIdNames_Params_Data()
    :{}


// static
bool PageHandler_GetModulesIdNames_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetModulesIdNames_ResponseParams_Data::PageHandler_GetModulesIdNames_ResponseParams_Data()
    :{}


// static
bool PageHandler_SetModulesOrder_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetModulesOrder_Params_Data::PageHandler_SetModulesOrder_Params_Data()
    :{}


// static
bool PageHandler_GetModulesOrder_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetModulesOrder_Params_Data::PageHandler_GetModulesOrder_Params_Data()
    :{}


// static
bool PageHandler_GetModulesOrder_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_GetModulesOrder_ResponseParams_Data::PageHandler_GetModulesOrder_ResponseParams_Data()
    :{}


// static
bool PageHandler_SetCustomizeChromeSidePanelVisible_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_SetCustomizeChromeSidePanelVisible_Params_Data::PageHandler_SetCustomizeChromeSidePanelVisible_Params_Data()
    :{}


// static
bool PageHandler_IncrementCustomizeChromeButtonOpenCount_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_IncrementCustomizeChromeButtonOpenCount_Params_Data::PageHandler_IncrementCustomizeChromeButtonOpenCount_Params_Data()
    :{}


// static
bool PageHandler_MaybeShowFeaturePromo_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_MaybeShowFeaturePromo_Params_Data::PageHandler_MaybeShowFeaturePromo_Params_Data()
    :{}


// static
bool PageHandler_IncrementWallpaperSearchButtonShownCount_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_IncrementWallpaperSearchButtonShownCount_Params_Data::PageHandler_IncrementWallpaperSearchButtonShownCount_Params_Data()
    :{}


// static
bool PageHandler_OnOneGoogleBarRendered_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnOneGoogleBarRendered_Params_Data::PageHandler_OnOneGoogleBarRendered_Params_Data()
    :{}


// static
bool PageHandler_OnPromoRendered_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnPromoRendered_Params_Data::PageHandler_OnPromoRendered_Params_Data()
    :{}


// static
bool PageHandler_OnCustomizeDialogAction_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnCustomizeDialogAction_Params_Data::PageHandler_OnCustomizeDialogAction_Params_Data()
    :{}


// static
bool PageHandler_OnDoodleImageClicked_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnDoodleImageClicked_Params_Data::PageHandler_OnDoodleImageClicked_Params_Data()
    :{}


// static
bool PageHandler_OnDoodleImageRendered_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnDoodleImageRendered_Params_Data::PageHandler_OnDoodleImageRendered_Params_Data()
    :{}


// static
bool PageHandler_OnDoodleImageRendered_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnDoodleImageRendered_ResponseParams_Data::PageHandler_OnDoodleImageRendered_ResponseParams_Data()
    :{}


// static
bool PageHandler_OnDoodleShared_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnDoodleShared_Params_Data::PageHandler_OnDoodleShared_Params_Data()
    :{}


// static
bool PageHandler_OnPromoLinkClicked_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnPromoLinkClicked_Params_Data::PageHandler_OnPromoLinkClicked_Params_Data()
    :{}


// static
bool PageHandler_OnAppRendered_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageHandler_OnAppRendered_Params_Data::PageHandler_OnAppRendered_Params_Data()
    :{}


// static
bool Page_SetCustomizeChromeSidePanelVisibility_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Page_SetCustomizeChromeSidePanelVisibility_Params_Data::Page_SetCustomizeChromeSidePanelVisibility_Params_Data()
    :{}


// static
bool Page_SetTheme_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Page_SetTheme_Params_Data::Page_SetTheme_Params_Data()
    :{}


// static
bool Page_SetDisabledModules_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Page_SetDisabledModules_Params_Data::Page_SetDisabledModules_Params_Data()
    :{}


// static
bool Page_SetPromo_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Page_SetPromo_Params_Data::Page_SetPromo_Params_Data()
    :{}


// static
bool Page_ShowWebstoreToast_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Page_ShowWebstoreToast_Params_Data::Page_ShowWebstoreToast_Params_Data()
    :{}


// static
bool Page_SetWallpaperSearchButtonVisibility_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Page_SetWallpaperSearchButtonVisibility_Params_Data::Page_SetWallpaperSearchButtonVisibility_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace new_tab_page

namespace perfetto {

// static
void TraceFormatTraits<::new_tab_page::mojom::NtpBackgroundImageSource>::WriteIntoTrace(
   perfetto::TracedValue context, ::new_tab_page::mojom::NtpBackgroundImageSource value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::new_tab_page::mojom::IphFeature>::WriteIntoTrace(
   perfetto::TracedValue context, ::new_tab_page::mojom::IphFeature value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::new_tab_page::mojom::DoodleImageType>::WriteIntoTrace(
   perfetto::TracedValue context, ::new_tab_page::mojom::DoodleImageType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::new_tab_page::mojom::DoodleShareChannel>::WriteIntoTrace(
   perfetto::TracedValue context, ::new_tab_page::mojom::DoodleShareChannel value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::new_tab_page::mojom::CustomizeChromeSection>::WriteIntoTrace(
   perfetto::TracedValue context, ::new_tab_page::mojom::CustomizeChromeSection value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::new_tab_page::mojom::CustomizeDialogAction>::WriteIntoTrace(
   perfetto::TracedValue context, ::new_tab_page::mojom::CustomizeDialogAction value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::new_tab_page::mojom::OptInStatus>::WriteIntoTrace(
   perfetto::TracedValue context, ::new_tab_page::mojom::OptInStatus value) {}

} // namespace perfetto