#include "third_party/blink/public/mojom/background_sync/background_sync.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_sync/background_sync.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* BackgroundSyncErrorToStringHelper(BackgroundSyncError value) { … }
std::string BackgroundSyncErrorToString(BackgroundSyncError value) { … }
std::ostream& operator<<(std::ostream& os, BackgroundSyncError value) { … }
NOINLINE static const char* BackgroundSyncStateToStringHelper(BackgroundSyncState value) { … }
std::string BackgroundSyncStateToString(BackgroundSyncState value) { … }
std::ostream& operator<<(std::ostream& os, BackgroundSyncState value) { … }
NOINLINE static const char* BackgroundSyncEventLastChanceToStringHelper(BackgroundSyncEventLastChance value) { … }
std::string BackgroundSyncEventLastChanceToString(BackgroundSyncEventLastChance value) { … }
std::ostream& operator<<(std::ostream& os, BackgroundSyncEventLastChance value) { … }
NOINLINE static const char* BackgroundSyncTypeToStringHelper(BackgroundSyncType value) { … }
std::string BackgroundSyncTypeToString(BackgroundSyncType value) { … }
std::ostream& operator<<(std::ostream& os, BackgroundSyncType value) { … }
namespace internal {
bool SyncRegistrationOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SyncRegistrationOptions_Data::SyncRegistrationOptions_Data()
: … { … }
bool BackgroundSyncRegistrationInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
BackgroundSyncRegistrationInfo_Data::BackgroundSyncRegistrationInfo_Data()
: … { … }
bool OneShotBackgroundSyncService_Register_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OneShotBackgroundSyncService_Register_Params_Data::OneShotBackgroundSyncService_Register_Params_Data()
: … { … }
bool OneShotBackgroundSyncService_Register_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OneShotBackgroundSyncService_Register_ResponseParams_Data::OneShotBackgroundSyncService_Register_ResponseParams_Data()
: … { … }
bool OneShotBackgroundSyncService_DidResolveRegistration_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OneShotBackgroundSyncService_DidResolveRegistration_Params_Data::OneShotBackgroundSyncService_DidResolveRegistration_Params_Data()
: … { … }
bool OneShotBackgroundSyncService_GetRegistrations_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OneShotBackgroundSyncService_GetRegistrations_Params_Data::OneShotBackgroundSyncService_GetRegistrations_Params_Data()
: … { … }
bool OneShotBackgroundSyncService_GetRegistrations_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
OneShotBackgroundSyncService_GetRegistrations_ResponseParams_Data::OneShotBackgroundSyncService_GetRegistrations_ResponseParams_Data()
: … { … }
bool PeriodicBackgroundSyncService_Register_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PeriodicBackgroundSyncService_Register_Params_Data::PeriodicBackgroundSyncService_Register_Params_Data()
: … { … }
bool PeriodicBackgroundSyncService_Register_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PeriodicBackgroundSyncService_Register_ResponseParams_Data::PeriodicBackgroundSyncService_Register_ResponseParams_Data()
: … { … }
bool PeriodicBackgroundSyncService_Unregister_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PeriodicBackgroundSyncService_Unregister_Params_Data::PeriodicBackgroundSyncService_Unregister_Params_Data()
: … { … }
bool PeriodicBackgroundSyncService_Unregister_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PeriodicBackgroundSyncService_Unregister_ResponseParams_Data::PeriodicBackgroundSyncService_Unregister_ResponseParams_Data()
: … { … }
bool PeriodicBackgroundSyncService_GetRegistrations_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PeriodicBackgroundSyncService_GetRegistrations_Params_Data::PeriodicBackgroundSyncService_GetRegistrations_Params_Data()
: … { … }
bool PeriodicBackgroundSyncService_GetRegistrations_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PeriodicBackgroundSyncService_GetRegistrations_ResponseParams_Data::PeriodicBackgroundSyncService_GetRegistrations_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::BackgroundSyncError>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::BackgroundSyncError value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::BackgroundSyncState>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::BackgroundSyncState value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::BackgroundSyncEventLastChance>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::BackgroundSyncEventLastChance value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::BackgroundSyncType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::BackgroundSyncType value) { … }
}