#ifndef CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_BOOKMARKS_BOOKMARKS_MOJOM_H_
#define CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_BOOKMARKS_BOOKMARKS_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 "chrome/browser/ui/webui/side_panel/bookmarks/bookmarks.mojom-features.h"
#include "chrome/browser/ui/webui/side_panel/bookmarks/bookmarks.mojom-shared.h"
#include "chrome/browser/ui/webui/side_panel/bookmarks/bookmarks.mojom-forward.h"
#include "ui/base/mojom/window_open_disposition.mojom-forward.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.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 side_panel::mojom {
class BookmarksPageHandlerFactoryProxy;
template <typename ImplRefTraits>
class BookmarksPageHandlerFactoryStub;
class BookmarksPageHandlerFactoryRequestValidator;
class BookmarksPageHandlerFactory
: public BookmarksPageHandlerFactoryInterfaceBase { … };
class BookmarksPageHandlerProxy;
template <typename ImplRefTraits>
class BookmarksPageHandlerStub;
class BookmarksPageHandlerRequestValidator;
class BookmarksPageHandler
: public BookmarksPageHandlerInterfaceBase { … };
class BookmarksPageHandlerFactoryProxy
: public BookmarksPageHandlerFactory { … };
class BookmarksPageHandlerProxy
: public BookmarksPageHandler { … };
class BookmarksPageHandlerFactoryStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<BookmarksPageHandlerFactory>>
class BookmarksPageHandlerFactoryStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
BookmarksPageHandlerFactoryStub() = default;
~BookmarksPageHandlerFactoryStub() 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 BookmarksPageHandlerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<BookmarksPageHandler>>
class BookmarksPageHandlerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
BookmarksPageHandlerStub() = default;
~BookmarksPageHandlerStub() 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 BookmarksPageHandlerFactoryRequestValidator : public mojo::MessageReceiver { … };
class BookmarksPageHandlerRequestValidator : public mojo::MessageReceiver { … };
}
namespace mojo {
}
#endif