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

// components/services/storage/public/mojom/blob_storage_context.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 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_H_
#define COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_BLOB_STORAGE_CONTEXT_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "components/services/storage/public/mojom/blob_storage_context.mojom-features.h"  // IWYU pragma: export
#include "components/services/storage/public/mojom/blob_storage_context.mojom-shared.h"  // IWYU pragma: export
#include "components/services/storage/public/mojom/blob_storage_context.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/big_buffer.mojom.h"
#include "mojo/public/mojom/base/file_path.mojom.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "third_party/blink/public/mojom/blob/blob.mojom-forward.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"






namespace storage::mojom {

class BlobDataItemReaderProxy;

template <typename ImplRefTraits>
class BlobDataItemReaderStub;

class BlobDataItemReaderRequestValidator;
class BlobDataItemReaderResponseValidator;


class BlobDataItemReader
    : public BlobDataItemReaderInterfaceBase {};

class BlobStorageContextProxy;

template <typename ImplRefTraits>
class BlobStorageContextStub;

class BlobStorageContextRequestValidator;
class BlobStorageContextResponseValidator;


class BlobStorageContext
    : public BlobStorageContextInterfaceBase {};



class  BlobDataItemReaderProxy
    : public BlobDataItemReader {};



class  BlobStorageContextProxy
    : public BlobStorageContext {};
class  BlobDataItemReaderStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<BlobDataItemReader>>
class BlobDataItemReaderStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  BlobDataItemReaderStub() = default;
  ~BlobDataItemReaderStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  BlobStorageContextStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<BlobStorageContext>>
class BlobStorageContextStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  BlobStorageContextStub() = default;
  ~BlobStorageContextStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  BlobDataItemReaderRequestValidator : public mojo::MessageReceiver {};
class  BlobStorageContextRequestValidator : public mojo::MessageReceiver {};
class  BlobDataItemReaderResponseValidator : public mojo::MessageReceiver {};
class  BlobStorageContextResponseValidator : public mojo::MessageReceiver {};








class  BlobDataItem {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, BlobDataItem::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, BlobDataItem::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, BlobDataItem::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, BlobDataItem::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename StructPtrType>
BlobDataItemPtr BlobDataItem::Clone() const {}

template <typename T, BlobDataItem::EnableIfSame<T>*>
bool BlobDataItem::Equals(const T& other_struct) const {}

template <typename T, BlobDataItem::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // storage::mojom

namespace mojo {


template <>
struct  StructTraits<::storage::mojom::BlobDataItem::DataView,
                                         ::storage::mojom::BlobDataItemPtr> {};

}  // namespace mojo

#endif  // COMPONENTS_SERVICES_STORAGE_PUBLIC_MOJOM_BLOB_STORAGE_CONTEXT_MOJOM_H_