chromium/out/Default/gen/components/services/filesystem/public/mojom/types.mojom-shared.h

// components/services/filesystem/public/mojom/types.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;



}  // filesystem::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::filesystem::mojom::TimespecOrNowDataView> {};

template <>
struct MojomTypeTraits<::filesystem::mojom::FileInformationDataView> {};

template <>
struct MojomTypeTraits<::filesystem::mojom::DirectoryEntryDataView> {};

}  // namespace internal
}  // namespace mojo


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 {};


}  // filesystem::mojom

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 std

namespace mojo {


namespace internal {

Serializer< ::filesystem::mojom::Whence, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::filesystem::mojom::FsFileType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::filesystem::mojom::TimespecOrNowDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::filesystem::mojom::FileInformationDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::filesystem::mojom::DirectoryEntryDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace filesystem::mojom {





inline void DirectoryEntryDataView::GetNameDataView(
    ::mojo_base::mojom::FilePathDataView* output) {}



}  // filesystem::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::filesystem::mojom::Whence> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::filesystem::mojom::FsFileType> {};

} // namespace perfetto

#endif  // COMPONENTS_SERVICES_FILESYSTEM_PUBLIC_MOJOM_TYPES_MOJOM_SHARED_H_