#ifndef COMPONENTS_SERVICES_FILESYSTEM_PUBLIC_MOJOM_TYPES_MOJOM_SHARED_H_
#define COMPONENTS_SERVICES_FILESYSTEM_PUBLIC_MOJOM_TYPES_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "components/services/filesystem/public/mojom/types.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
namespace filesystem::mojom {
class TimespecOrNowDataView;
class FileInformationDataView;
class DirectoryEntryDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::filesystem::mojom::TimespecOrNowDataView> { … };
template <>
struct MojomTypeTraits<::filesystem::mojom::FileInformationDataView> { … };
template <>
struct MojomTypeTraits<::filesystem::mojom::DirectoryEntryDataView> { … };
}
}
namespace filesystem::mojom {
enum class Whence : int32_t { … };
std::ostream& operator<<(std::ostream& os, Whence value);
inline bool IsKnownEnumValue(Whence value) { … }
enum class FsFileType : int32_t { … };
std::ostream& operator<<(std::ostream& os, FsFileType value);
inline bool IsKnownEnumValue(FsFileType value) { … }
class TimespecOrNowDataView { … };
class FileInformationDataView { … };
class DirectoryEntryDataView { … };
}
namespace std {
template <>
struct hash<::filesystem::mojom::Whence>
: public mojo::internal::EnumHashImpl<::filesystem::mojom::Whence> { … };
template <>
struct hash<::filesystem::mojom::FsFileType>
: public mojo::internal::EnumHashImpl<::filesystem::mojom::FsFileType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::filesystem::mojom::Whence, MaybeConstUserType>;
}
namespace internal {
Serializer< ::filesystem::mojom::FsFileType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::filesystem::mojom::TimespecOrNowDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::filesystem::mojom::FileInformationDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::filesystem::mojom::DirectoryEntryDataView, MaybeConstUserType>;
}
}
namespace filesystem::mojom {
inline void DirectoryEntryDataView::GetNameDataView(
::mojo_base::mojom::FilePathDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::filesystem::mojom::Whence> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::filesystem::mojom::FsFileType> { … };
}
#endif