#include "third_party/blink/public/mojom/background_fetch/background_fetch.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 "third_party/blink/public/mojom/background_fetch/background_fetch.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* BackgroundFetchErrorToStringHelper(BackgroundFetchError value) { … }
std::string BackgroundFetchErrorToString(BackgroundFetchError value) { … }
std::ostream& operator<<(std::ostream& os, BackgroundFetchError value) { … }
NOINLINE static const char* BackgroundFetchResultToStringHelper(BackgroundFetchResult value) { … }
std::string BackgroundFetchResultToString(BackgroundFetchResult value) { … }
std::ostream& operator<<(std::ostream& os, BackgroundFetchResult value) { … }
NOINLINE static const char* BackgroundFetchFailureReasonToStringHelper(BackgroundFetchFailureReason value) { … }
std::string BackgroundFetchFailureReasonToString(BackgroundFetchFailureReason value) { … }
std::ostream& operator<<(std::ostream& os, BackgroundFetchFailureReason value) { … }
namespace internal {
bool BackgroundFetchSettledFetch_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchSettledFetch_Data::BackgroundFetchSettledFetch_Data()
: … { … }
bool BackgroundFetchOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchOptions_Data::BackgroundFetchOptions_Data()
: … { … }
bool BackgroundFetchRegistrationData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationData_Data::BackgroundFetchRegistrationData_Data()
: … { … }
bool BackgroundFetchRegistration_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistration_Data::BackgroundFetchRegistration_Data()
: … { … }
bool BackgroundFetchUkmData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchUkmData_Data::BackgroundFetchUkmData_Data()
: … { … }
bool BackgroundFetchRegistrationObserver_OnProgress_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationObserver_OnProgress_Params_Data::BackgroundFetchRegistrationObserver_OnProgress_Params_Data()
: … { … }
bool BackgroundFetchRegistrationObserver_OnRecordsUnavailable_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationObserver_OnRecordsUnavailable_Params_Data::BackgroundFetchRegistrationObserver_OnRecordsUnavailable_Params_Data()
: … { … }
bool BackgroundFetchRegistrationObserver_OnRequestCompleted_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationObserver_OnRequestCompleted_Params_Data::BackgroundFetchRegistrationObserver_OnRequestCompleted_Params_Data()
: … { … }
bool BackgroundFetchService_Fetch_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_Fetch_Params_Data::BackgroundFetchService_Fetch_Params_Data()
: … { … }
bool BackgroundFetchService_Fetch_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_Fetch_ResponseParams_Data::BackgroundFetchService_Fetch_ResponseParams_Data()
: … { … }
bool BackgroundFetchService_GetRegistration_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_GetRegistration_Params_Data::BackgroundFetchService_GetRegistration_Params_Data()
: … { … }
bool BackgroundFetchService_GetRegistration_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_GetRegistration_ResponseParams_Data::BackgroundFetchService_GetRegistration_ResponseParams_Data()
: … { … }
bool BackgroundFetchService_GetDeveloperIds_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_GetDeveloperIds_Params_Data::BackgroundFetchService_GetDeveloperIds_Params_Data()
: … { … }
bool BackgroundFetchService_GetDeveloperIds_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_GetDeveloperIds_ResponseParams_Data::BackgroundFetchService_GetDeveloperIds_ResponseParams_Data()
: … { … }
bool BackgroundFetchService_GetIconDisplaySize_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_GetIconDisplaySize_Params_Data::BackgroundFetchService_GetIconDisplaySize_Params_Data()
: … { … }
bool BackgroundFetchService_GetIconDisplaySize_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchService_GetIconDisplaySize_ResponseParams_Data::BackgroundFetchService_GetIconDisplaySize_ResponseParams_Data()
: … { … }
bool BackgroundFetchRegistrationService_UpdateUI_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationService_UpdateUI_Params_Data::BackgroundFetchRegistrationService_UpdateUI_Params_Data()
: … { … }
bool BackgroundFetchRegistrationService_UpdateUI_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationService_UpdateUI_ResponseParams_Data::BackgroundFetchRegistrationService_UpdateUI_ResponseParams_Data()
: … { … }
bool BackgroundFetchRegistrationService_Abort_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationService_Abort_Params_Data::BackgroundFetchRegistrationService_Abort_Params_Data()
: … { … }
bool BackgroundFetchRegistrationService_Abort_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationService_Abort_ResponseParams_Data::BackgroundFetchRegistrationService_Abort_ResponseParams_Data()
: … { … }
bool BackgroundFetchRegistrationService_MatchRequests_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationService_MatchRequests_Params_Data::BackgroundFetchRegistrationService_MatchRequests_Params_Data()
: … { … }
bool BackgroundFetchRegistrationService_MatchRequests_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationService_MatchRequests_ResponseParams_Data::BackgroundFetchRegistrationService_MatchRequests_ResponseParams_Data()
: … { … }
bool BackgroundFetchRegistrationService_AddRegistrationObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundFetchRegistrationService_AddRegistrationObserver_Params_Data::BackgroundFetchRegistrationService_AddRegistrationObserver_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::BackgroundFetchError>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::BackgroundFetchError value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::BackgroundFetchResult>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::BackgroundFetchResult value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::BackgroundFetchFailureReason>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::BackgroundFetchFailureReason value) { … }
}