#include "third_party/blink/public/mojom/push_messaging/push_messaging.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/push_messaging/push_messaging.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* PushErrorTypeToStringHelper(PushErrorType value) { … }
std::string PushErrorTypeToString(PushErrorType value) { … }
std::ostream& operator<<(std::ostream& os, PushErrorType value) { … }
namespace internal {
bool PushSubscriptionOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushSubscriptionOptions_Data::PushSubscriptionOptions_Data()
: … { … }
bool PushSubscription_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushSubscription_Data::PushSubscription_Data()
: … { … }
bool PushMessaging_Subscribe_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushMessaging_Subscribe_Params_Data::PushMessaging_Subscribe_Params_Data()
: … { … }
bool PushMessaging_Subscribe_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushMessaging_Subscribe_ResponseParams_Data::PushMessaging_Subscribe_ResponseParams_Data()
: … { … }
bool PushMessaging_Unsubscribe_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushMessaging_Unsubscribe_Params_Data::PushMessaging_Unsubscribe_Params_Data()
: … { … }
bool PushMessaging_Unsubscribe_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushMessaging_Unsubscribe_ResponseParams_Data::PushMessaging_Unsubscribe_ResponseParams_Data()
: … { … }
bool PushMessaging_GetSubscription_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushMessaging_GetSubscription_Params_Data::PushMessaging_GetSubscription_Params_Data()
: … { … }
bool PushMessaging_GetSubscription_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PushMessaging_GetSubscription_ResponseParams_Data::PushMessaging_GetSubscription_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PushErrorType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PushErrorType value) { … }
}