chromium/out/Default/gen/third_party/blink/public/mojom/file_system_access/file_system_access_manager.mojom-shared.h

// third_party/blink/public/mojom/file_system_access/file_system_access_manager.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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_MANAGER_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_MANAGER_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 "third_party/blink/public/mojom/file_system_access/file_system_access_manager.mojom-shared-internal.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_data_transfer_token.mojom-shared.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_directory_handle.mojom-shared.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_error.mojom-shared.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_file_handle.mojom-shared.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_observer_host.mojom-shared.h"
#include "third_party/blink/public/mojom/file_system_access/file_system_access_transfer_token.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 blink::mojom {
class ChooseFileSystemEntryAcceptsOptionDataView;

class AcceptsTypesInfoDataView;

class OpenFilePickerOptionsDataView;

class SaveFilePickerOptionsDataView;

class DirectoryPickerOptionsDataView;

class FilePickerOptionsDataView;

class TypeSpecificFilePickerOptionsUnionDataView;
class FilePickerStartInOptionsUnionDataView;


}  // blink::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::blink::mojom::ChooseFileSystemEntryAcceptsOptionDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::AcceptsTypesInfoDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::OpenFilePickerOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::SaveFilePickerOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::DirectoryPickerOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::FilePickerOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::TypeSpecificFilePickerOptionsUnionDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::FilePickerStartInOptionsUnionDataView> {};

}  // namespace internal
}  // namespace mojo


namespace blinkmojom  // blink::mojom

namespace std {

template <>
struct hash<::blink::mojom::WellKnownDirectory>
    : public mojo::internal::EnumHashImpl<::blink::mojom::WellKnownDirectory> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::blink::mojom::WellKnownDirectory, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::ChooseFileSystemEntryAcceptsOptionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AcceptsTypesInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::OpenFilePickerOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::SaveFilePickerOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DirectoryPickerOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::FilePickerOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::TypeSpecificFilePickerOptionsUnionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::FilePickerStartInOptionsUnionDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace blink::mojom {

inline void ChooseFileSystemEntryAcceptsOptionDataView::GetDescriptionDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void ChooseFileSystemEntryAcceptsOptionDataView::GetMimeTypesDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}
inline void ChooseFileSystemEntryAcceptsOptionDataView::GetExtensionsDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}


inline void AcceptsTypesInfoDataView::GetAcceptsDataView(
    mojo::ArrayDataView<ChooseFileSystemEntryAcceptsOptionDataView>* output) {}


inline void OpenFilePickerOptionsDataView::GetAcceptsTypesInfoDataView(
    AcceptsTypesInfoDataView* output) {}


inline void SaveFilePickerOptionsDataView::GetAcceptsTypesInfoDataView(
    AcceptsTypesInfoDataView* output) {}
inline void SaveFilePickerOptionsDataView::GetSuggestedNameDataView(
    mojo::StringDataView* output) {}




inline void FilePickerOptionsDataView::GetTypeSpecificOptionsDataView(
    TypeSpecificFilePickerOptionsUnionDataView* output) {}
inline void FilePickerOptionsDataView::GetStartingDirectoryIdDataView(
    mojo::StringDataView* output) {}
inline void FilePickerOptionsDataView::GetStartInOptionsDataView(
    FilePickerStartInOptionsUnionDataView* output) {}


inline void TypeSpecificFilePickerOptionsUnionDataView::GetOpenFilePickerOptionsDataView(
    OpenFilePickerOptionsDataView* output) const {}
inline void TypeSpecificFilePickerOptionsUnionDataView::GetSaveFilePickerOptionsDataView(
    SaveFilePickerOptionsDataView* output) const {}
inline void TypeSpecificFilePickerOptionsUnionDataView::GetDirectoryPickerOptionsDataView(
    DirectoryPickerOptionsDataView* output) const {}



}  // blink::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::WellKnownDirectory> {};

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_MANAGER_MOJOM_SHARED_H_