#include "third_party/blink/public/mojom/locks/lock_manager.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/locks/lock_manager.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* LockModeToStringHelper(LockMode value) { … }
std::string LockModeToString(LockMode value) { … }
std::ostream& operator<<(std::ostream& os, LockMode value) { … }
NOINLINE static const char* LockManager_WaitModeToStringHelper(LockManager_WaitMode value) { … }
std::string LockManager_WaitModeToString(LockManager_WaitMode value) { … }
std::ostream& operator<<(std::ostream& os, LockManager_WaitMode value) { … }
namespace internal {
bool LockInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LockInfo_Data::LockInfo_Data()
: … { … }
bool LockRequest_Granted_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LockRequest_Granted_Params_Data::LockRequest_Granted_Params_Data()
: … { … }
bool LockRequest_Failed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LockRequest_Failed_Params_Data::LockRequest_Failed_Params_Data()
: … { … }
bool LockManager_RequestLock_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LockManager_RequestLock_Params_Data::LockManager_RequestLock_Params_Data()
: … { … }
bool LockManager_QueryState_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LockManager_QueryState_Params_Data::LockManager_QueryState_Params_Data()
: … { … }
bool LockManager_QueryState_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LockManager_QueryState_ResponseParams_Data::LockManager_QueryState_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::LockMode>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::LockMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::LockManager_WaitMode>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::LockManager_WaitMode value) { … }
}