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

// components/services/storage/public/mojom/blob_storage_context.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_BLOB_STORAGE_CONTEXT_MOJOM_SHARED_H_
#define COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_BLOB_STORAGE_CONTEXT_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/blob_storage_context.mojom-shared-internal.h"
#include "mojo/public/mojom/base/big_buffer.mojom-shared.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "third_party/blink/public/mojom/blob/blob.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace storage::mojom {
class BlobDataItemDataView;



}  // storage::mojom

namespace mojo {
namespace internal {

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

}  // namespace internal
}  // namespace mojo


namespace storage::mojom {


enum class BlobDataItemType : int32_t {};

 std::ostream& operator<<(std::ostream& os, BlobDataItemType value);
inline bool IsKnownEnumValue(BlobDataItemType value) {}


enum class WriteBlobToFileResult : int32_t {};

 std::ostream& operator<<(std::ostream& os, WriteBlobToFileResult value);
inline bool IsKnownEnumValue(WriteBlobToFileResult value) {}
// Interface base classes. They are used for type safety check.
class BlobDataItemReaderInterfaceBase {};

BlobDataItemReaderPtrDataView;
BlobDataItemReaderRequestDataView;
BlobDataItemReaderAssociatedPtrInfoDataView;
BlobDataItemReaderAssociatedRequestDataView;
class BlobStorageContextInterfaceBase {};

BlobStorageContextPtrDataView;
BlobStorageContextRequestDataView;
BlobStorageContextAssociatedPtrInfoDataView;
BlobStorageContextAssociatedRequestDataView;


class BlobDataItemDataView {};


}  // storage::mojom

namespace std {

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

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

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace storage::mojom {

inline void BlobDataItemDataView::GetContentTypeDataView(
    mojo::StringDataView* output) {}



}  // storage::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::storage::mojom::BlobDataItemType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::storage::mojom::WriteBlobToFileResult> {};

} // namespace perfetto

#endif  // COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_BLOB_STORAGE_CONTEXT_MOJOM_SHARED_H_