#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_CHOOSERS_FILE_CHOOSER_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CHOOSERS_FILE_CHOOSER_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/choosers/file_chooser.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "url/mojom/url.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 FileChooserParamsDataView;
class NativeFileInfoDataView;
class FileSystemFileInfoDataView;
class FileChooserResultDataView;
class FileChooserFileInfoDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::blink::mojom::FileChooserParamsDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::NativeFileInfoDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::FileSystemFileInfoDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::FileChooserResultDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::FileChooserFileInfoDataView> { … };
}
}
namespace blinkmojom
namespace std {
template <>
struct hash<::blink::mojom::FileChooserParams_Mode>
: public mojo::internal::EnumHashImpl<::blink::mojom::FileChooserParams_Mode> { … };
}
namespace mojo {
namespace internal {
Serializer< ::blink::mojom::FileChooserParams_Mode, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::FileChooserParamsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::NativeFileInfoDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::FileSystemFileInfoDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::FileChooserResultDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::FileChooserFileInfoDataView, MaybeConstUserType>;
}
}
namespace blink::mojom {
inline void FileChooserParamsDataView::GetTitleDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void FileChooserParamsDataView::GetDefaultFileNameDataView(
::mojo_base::mojom::FilePathDataView* output) { … }
inline void FileChooserParamsDataView::GetSelectedFilesDataView(
mojo::ArrayDataView<::mojo_base::mojom::FilePathDataView>* output) { … }
inline void FileChooserParamsDataView::GetAcceptTypesDataView(
mojo::ArrayDataView<::mojo_base::mojom::String16DataView>* output) { … }
inline void FileChooserParamsDataView::GetRequestorDataView(
::url::mojom::UrlDataView* output) { … }
inline void NativeFileInfoDataView::GetFilePathDataView(
::mojo_base::mojom::FilePathDataView* output) { … }
inline void NativeFileInfoDataView::GetDisplayNameDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void FileSystemFileInfoDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void FileSystemFileInfoDataView::GetModificationTimeDataView(
::mojo_base::mojom::TimeDataView* output) { … }
inline void FileChooserResultDataView::GetFilesDataView(
mojo::ArrayDataView<FileChooserFileInfoDataView>* output) { … }
inline void FileChooserResultDataView::GetBaseDirectoryDataView(
::mojo_base::mojom::FilePathDataView* output) { … }
inline void FileChooserFileInfoDataView::GetNativeFileDataView(
NativeFileInfoDataView* output) const { … }
inline void FileChooserFileInfoDataView::GetFileSystemDataView(
FileSystemFileInfoDataView* output) const { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::FileChooserParams_Mode> { … };
}
#endif