#include "chrome/browser/resource_coordinator/lifecycle_unit_state.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 "chrome/browser/resource_coordinator/lifecycle_unit_state.mojom-params-data.h"
namespace mojom {
NOINLINE static const char* LifecycleUnitStateToStringHelper(LifecycleUnitState value) { … }
std::string LifecycleUnitStateToString(LifecycleUnitState value) { … }
std::ostream& operator<<(std::ostream& os, LifecycleUnitState value) { … }
NOINLINE static const char* LifecycleUnitLoadingStateToStringHelper(LifecycleUnitLoadingState value) { … }
std::string LifecycleUnitLoadingStateToString(LifecycleUnitLoadingState value) { … }
std::ostream& operator<<(std::ostream& os, LifecycleUnitLoadingState value) { … }
NOINLINE static const char* LifecycleUnitStateChangeReasonToStringHelper(LifecycleUnitStateChangeReason value) { … }
std::string LifecycleUnitStateChangeReasonToString(LifecycleUnitStateChangeReason value) { … }
std::ostream& operator<<(std::ostream& os, LifecycleUnitStateChangeReason value) { … }
NOINLINE static const char* LifecycleUnitDiscardReasonToStringHelper(LifecycleUnitDiscardReason value) { … }
std::string LifecycleUnitDiscardReasonToString(LifecycleUnitDiscardReason value) { … }
std::ostream& operator<<(std::ostream& os, LifecycleUnitDiscardReason value) { … }
namespace internal {
}
}
namespace perfetto {
void TraceFormatTraits<::mojom::LifecycleUnitState>::WriteIntoTrace(
perfetto::TracedValue context, ::mojom::LifecycleUnitState value) { … }
}
namespace perfetto {
void TraceFormatTraits<::mojom::LifecycleUnitLoadingState>::WriteIntoTrace(
perfetto::TracedValue context, ::mojom::LifecycleUnitLoadingState value) { … }
}
namespace perfetto {
void TraceFormatTraits<::mojom::LifecycleUnitStateChangeReason>::WriteIntoTrace(
perfetto::TracedValue context, ::mojom::LifecycleUnitStateChangeReason value) { … }
}
namespace perfetto {
void TraceFormatTraits<::mojom::LifecycleUnitDiscardReason>::WriteIntoTrace(
perfetto::TracedValue context, ::mojom::LifecycleUnitDiscardReason value) { … }
}