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

// components/services/storage/public/mojom/filesystem/directory.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_STORAGE_PUBLIC_MOJOM_FILESYSTEM_DIRECTORY_MOJOM_SHARED_H_
#define COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_FILESYSTEM_DIRECTORY_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/storage/public/mojom/filesystem/directory.mojom-shared-internal.h"
#include "mojo/public/mojom/base/big_string.mojom-shared.h"
#include "mojo/public/mojom/base/file.mojom-shared.h"
#include "mojo/public/mojom/base/file_error.mojom-shared.h"
#include "mojo/public/mojom/base/file_info.mojom-shared.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"


#include "base/component_export.h"




namespace storage::mojom {
class StrictRelativePathDataView;

class PathAccessInfoDataView;



}  // storage::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::storage::mojom::StrictRelativePathDataView> {};

template <>
struct MojomTypeTraits<::storage::mojom::PathAccessInfoDataView> {};

}  // namespace internal
}  // namespace mojo


namespace storagemojom  // storage::mojom

namespace std {

template <>
struct hash<::storage::mojom::GetEntriesMode>
    : public mojo::internal::EnumHashImpl<::storage::mojom::GetEntriesMode> {};

template <>
struct hash<::storage::mojom::FileOpenMode>
    : public mojo::internal::EnumHashImpl<::storage::mojom::FileOpenMode> {};

template <>
struct hash<::storage::mojom::FileReadAccess>
    : public mojo::internal::EnumHashImpl<::storage::mojom::FileReadAccess> {};

template <>
struct hash<::storage::mojom::FileWriteAccess>
    : public mojo::internal::EnumHashImpl<::storage::mojom::FileWriteAccess> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::storage::mojom::GetEntriesMode, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::FileOpenMode, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::FileReadAccess, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::FileWriteAccess, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::StrictRelativePathDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::storage::mojom::PathAccessInfoDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace storage::mojom {

inline void StrictRelativePathDataView::GetPathDataView(
    ::mojo_base::mojom::FilePathDataView* output) {}





}  // storage::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(STORAGE_SERVICE_FILESYSTEM_MOJOM_SHARED) TraceFormatTraits<::storage::mojom::GetEntriesMode> {};

} // namespace perfetto

namespace perfetto {

template <>
struct COMPONENT_EXPORT(STORAGE_SERVICE_FILESYSTEM_MOJOM_SHARED) TraceFormatTraits<::storage::mojom::FileOpenMode> {};

} // namespace perfetto

namespace perfetto {

template <>
struct COMPONENT_EXPORT(STORAGE_SERVICE_FILESYSTEM_MOJOM_SHARED) TraceFormatTraits<::storage::mojom::FileReadAccess> {};

} // namespace perfetto

namespace perfetto {

template <>
struct COMPONENT_EXPORT(STORAGE_SERVICE_FILESYSTEM_MOJOM_SHARED) TraceFormatTraits<::storage::mojom::FileWriteAccess> {};

} // namespace perfetto

#endif  // COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_FILESYSTEM_DIRECTORY_MOJOM_SHARED_H_