#include "components/mirroring/mojom/session_observer.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 "components/mirroring/mojom/session_observer.mojom-params-data.h"
namespace mirroring {
namespace mojom {
NOINLINE static const char* SessionErrorToStringHelper(SessionError value) { … }
std::string SessionErrorToString(SessionError value) { … }
std::ostream& operator<<(std::ostream& os, SessionError value) { … }
namespace internal {
bool SessionObserver_OnError_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SessionObserver_OnError_Params_Data::SessionObserver_OnError_Params_Data()
: … { … }
bool SessionObserver_DidStart_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SessionObserver_DidStart_Params_Data::SessionObserver_DidStart_Params_Data()
: … { … }
bool SessionObserver_DidStop_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SessionObserver_DidStop_Params_Data::SessionObserver_DidStop_Params_Data()
: … { … }
bool SessionObserver_LogInfoMessage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SessionObserver_LogInfoMessage_Params_Data::SessionObserver_LogInfoMessage_Params_Data()
: … { … }
bool SessionObserver_LogErrorMessage_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SessionObserver_LogErrorMessage_Params_Data::SessionObserver_LogErrorMessage_Params_Data()
: … { … }
bool SessionObserver_OnSourceChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SessionObserver_OnSourceChanged_Params_Data::SessionObserver_OnSourceChanged_Params_Data()
: … { … }
bool SessionObserver_OnRemotingStateChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SessionObserver_OnRemotingStateChanged_Params_Data::SessionObserver_OnRemotingStateChanged_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::mirroring::mojom::SessionError>::WriteIntoTrace(
perfetto::TracedValue context, ::mirroring::mojom::SessionError value) { … }
}