#include "components/services/filesystem/public/mojom/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/filesystem/public/mojom/types.mojom-params-data.h"
namespace filesystem {
namespace mojom {
NOINLINE static const char* WhenceToStringHelper(Whence value) { … }
std::string WhenceToString(Whence value) { … }
std::ostream& operator<<(std::ostream& os, Whence value) { … }
NOINLINE static const char* FsFileTypeToStringHelper(FsFileType value) { … }
std::string FsFileTypeToString(FsFileType value) { … }
std::ostream& operator<<(std::ostream& os, FsFileType value) { … }
namespace internal {
bool TimespecOrNow_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TimespecOrNow_Data::TimespecOrNow_Data()
: … { … }
bool FileInformation_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileInformation_Data::FileInformation_Data()
: … { … }
bool DirectoryEntry_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DirectoryEntry_Data::DirectoryEntry_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::filesystem::mojom::Whence>::WriteIntoTrace(
perfetto::TracedValue context, ::filesystem::mojom::Whence value) { … }
}
namespace perfetto {
void TraceFormatTraits<::filesystem::mojom::FsFileType>::WriteIntoTrace(
perfetto::TracedValue context, ::filesystem::mojom::FsFileType value) { … }
}