#include "components/services/storage/privileged/mojom/indexed_db_internals_types.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/services/storage/privileged/mojom/indexed_db_internals_types.mojom-params-data.h"
namespace storage {
namespace mojom {
NOINLINE static const char* IdbTransactionModeToStringHelper(IdbTransactionMode value) { … }
std::string IdbTransactionModeToString(IdbTransactionMode value) { … }
std::ostream& operator<<(std::ostream& os, IdbTransactionMode value) { … }
NOINLINE static const char* IdbTransactionStateToStringHelper(IdbTransactionState value) { … }
std::string IdbTransactionStateToString(IdbTransactionState value) { … }
std::ostream& operator<<(std::ostream& os, IdbTransactionState value) { … }
namespace internal {
bool IdbOriginMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
IdbOriginMetadata_Data::IdbOriginMetadata_Data()
: … { … }
bool IdbStorageKeyMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
IdbStorageKeyMetadata_Data::IdbStorageKeyMetadata_Data()
: … { … }
bool IdbBucketMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
IdbBucketMetadata_Data::IdbBucketMetadata_Data()
: … { … }
bool IdbDatabaseMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
IdbDatabaseMetadata_Data::IdbDatabaseMetadata_Data()
: … { … }
bool IdbTransactionMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
IdbTransactionMetadata_Data::IdbTransactionMetadata_Data()
: … { … }
bool IdbTransactionMetadataStateHistory_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
IdbTransactionMetadataStateHistory_Data::IdbTransactionMetadataStateHistory_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::storage::mojom::IdbTransactionMode>::WriteIntoTrace(
perfetto::TracedValue context, ::storage::mojom::IdbTransactionMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::storage::mojom::IdbTransactionState>::WriteIntoTrace(
perfetto::TracedValue context, ::storage::mojom::IdbTransactionState value) { … }
}