chromium/out/Default/gen/chrome/browser/ui/webui/side_panel/reading_list/reading_list.mojom.cc

// chrome/browser/ui/webui/side_panel/reading_list/reading_list.mojom.cc 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.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "chrome/browser/ui/webui/side_panel/reading_list/reading_list.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "chrome/browser/ui/webui/side_panel/reading_list/reading_list.mojom-params-data.h"
#include "chrome/browser/ui/webui/side_panel/reading_list/reading_list.mojom-shared-message-ids.h"

#include "chrome/browser/ui/webui/side_panel/reading_list/reading_list.mojom-import-headers.h"
#include "chrome/browser/ui/webui/side_panel/reading_list/reading_list.mojom-test-utils.h"


namespace reading_list::mojom {
ReadLaterEntriesByStatus::ReadLaterEntriesByStatus()
    :{}

ReadLaterEntriesByStatus::ReadLaterEntriesByStatus(
    std::vector<ReadLaterEntryPtr> unread_entries_in,
    std::vector<ReadLaterEntryPtr> read_entries_in)
    :{}

ReadLaterEntriesByStatus::~ReadLaterEntriesByStatus() = default;

void ReadLaterEntriesByStatus::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ReadLaterEntriesByStatus::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ReadLaterEntry::ReadLaterEntry()
    :{}

ReadLaterEntry::ReadLaterEntry(
    const std::string& title_in,
    const ::GURL& url_in,
    const std::string& display_url_in,
    int64_t update_time_in,
    bool read_in,
    const std::string& display_time_since_update_in)
    :{}

ReadLaterEntry::~ReadLaterEntry() = default;

void ReadLaterEntry::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ReadLaterEntry::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char PageHandlerFactory::Name_[] =;

PageHandlerFactory::IPCStableHashFunction PageHandlerFactory::MessageToMethodInfo_(mojo::Message& message) {}


const char* PageHandlerFactory::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t PageHandlerFactory::CreatePageHandler_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

PageHandlerFactoryProxy::PageHandlerFactoryProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void PageHandlerFactoryProxy::CreatePageHandler(
    ::mojo::PendingRemote<Page> in_page, ::mojo::PendingReceiver<PageHandler> in_handler) {}

// static
bool PageHandlerFactoryStubDispatch::Accept(
    PageHandlerFactory* impl,
    mojo::Message* message) {}

// static
bool PageHandlerFactoryStubDispatch::AcceptWithResponder(
    PageHandlerFactory* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kPageHandlerFactoryValidationInfo[] =;

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

const char PageHandler::Name_[] =;

PageHandler::IPCStableHashFunction PageHandler::MessageToMethodInfo_(mojo::Message& message) {}


const char* PageHandler::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t PageHandler::GetReadLaterEntries_Sym::IPCStableHash() {}
uint32_t PageHandler::OpenURL_Sym::IPCStableHash() {}
uint32_t PageHandler::UpdateReadStatus_Sym::IPCStableHash() {}
uint32_t PageHandler::MarkCurrentTabAsRead_Sym::IPCStableHash() {}
uint32_t PageHandler::AddCurrentTab_Sym::IPCStableHash() {}
uint32_t PageHandler::RemoveEntry_Sym::IPCStableHash() {}
uint32_t PageHandler::ShowContextMenuForURL_Sym::IPCStableHash() {}
uint32_t PageHandler::UpdateCurrentPageActionButtonState_Sym::IPCStableHash() {}
uint32_t PageHandler::ShowUI_Sym::IPCStableHash() {}
uint32_t PageHandler::CloseUI_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class PageHandler_GetReadLaterEntries_ForwardToCallback
    : public mojo::MessageReceiver {};

PageHandlerProxy::PageHandlerProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void PageHandlerProxy::GetReadLaterEntries(
    GetReadLaterEntriesCallback callback) {}

void PageHandlerProxy::OpenURL(
    const ::GURL& in_url, bool in_mark_as_read, ::ui::mojom::ClickModifiersPtr in_click_modifiers) {}

void PageHandlerProxy::UpdateReadStatus(
    const ::GURL& in_url, bool in_read) {}

void PageHandlerProxy::MarkCurrentTabAsRead(
    ) {}

void PageHandlerProxy::AddCurrentTab(
    ) {}

void PageHandlerProxy::RemoveEntry(
    const ::GURL& in_url) {}

void PageHandlerProxy::ShowContextMenuForURL(
    const ::GURL& in_url, int32_t in_x, int32_t in_y) {}

void PageHandlerProxy::UpdateCurrentPageActionButtonState(
    ) {}

void PageHandlerProxy::ShowUI(
    ) {}

void PageHandlerProxy::CloseUI(
    ) {}
class PageHandler_GetReadLaterEntries_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void PageHandler_GetReadLaterEntries_ProxyToResponder::Run(
    ReadLaterEntriesByStatusPtr in_entries) {}

// static
bool PageHandlerStubDispatch::Accept(
    PageHandler* impl,
    mojo::Message* message) {}

// static
bool PageHandlerStubDispatch::AcceptWithResponder(
    PageHandler* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kPageHandlerValidationInfo[] =;

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

bool PageHandlerResponseValidator::Accept(mojo::Message* message) {}
const char Page::Name_[] =;

Page::IPCStableHashFunction Page::MessageToMethodInfo_(mojo::Message& message) {}


const char* Page::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Page::ItemsChanged_Sym::IPCStableHash() {}
uint32_t Page::CurrentPageActionButtonStateChanged_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

PageProxy::PageProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void PageProxy::ItemsChanged(
    ReadLaterEntriesByStatusPtr in_entries) {}

void PageProxy::CurrentPageActionButtonStateChanged(
    CurrentPageActionButtonState in_state) {}

// static
bool PageStubDispatch::Accept(
    Page* impl,
    mojo::Message* message) {}

// static
bool PageStubDispatch::AcceptWithResponder(
    Page* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kPageValidationInfo[] =;

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



}  // reading_list::mojom


namespace mojo {


// static
bool StructTraits<::reading_list::mojom::ReadLaterEntriesByStatus::DataView, ::reading_list::mojom::ReadLaterEntriesByStatusPtr>::Read(
    ::reading_list::mojom::ReadLaterEntriesByStatus::DataView input,
    ::reading_list::mojom::ReadLaterEntriesByStatusPtr* output) {}


// static
bool StructTraits<::reading_list::mojom::ReadLaterEntry::DataView, ::reading_list::mojom::ReadLaterEntryPtr>::Read(
    ::reading_list::mojom::ReadLaterEntry::DataView input,
    ::reading_list::mojom::ReadLaterEntryPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace reading_list::mojom {


void PageHandlerFactoryInterceptorForTesting::CreatePageHandler(::mojo::PendingRemote<Page> page, ::mojo::PendingReceiver<PageHandler> handler) {}
PageHandlerFactoryAsyncWaiter::PageHandlerFactoryAsyncWaiter(
    PageHandlerFactory* proxy) :{}

PageHandlerFactoryAsyncWaiter::~PageHandlerFactoryAsyncWaiter() = default;




void PageHandlerInterceptorForTesting::GetReadLaterEntries(GetReadLaterEntriesCallback callback) {}
void PageHandlerInterceptorForTesting::OpenURL(const ::GURL& url, bool mark_as_read, ::ui::mojom::ClickModifiersPtr click_modifiers) {}
void PageHandlerInterceptorForTesting::UpdateReadStatus(const ::GURL& url, bool read) {}
void PageHandlerInterceptorForTesting::MarkCurrentTabAsRead() {}
void PageHandlerInterceptorForTesting::AddCurrentTab() {}
void PageHandlerInterceptorForTesting::RemoveEntry(const ::GURL& url) {}
void PageHandlerInterceptorForTesting::ShowContextMenuForURL(const ::GURL& url, int32_t x, int32_t y) {}
void PageHandlerInterceptorForTesting::UpdateCurrentPageActionButtonState() {}
void PageHandlerInterceptorForTesting::ShowUI() {}
void PageHandlerInterceptorForTesting::CloseUI() {}
PageHandlerAsyncWaiter::PageHandlerAsyncWaiter(
    PageHandler* proxy) :{}

PageHandlerAsyncWaiter::~PageHandlerAsyncWaiter() = default;

void PageHandlerAsyncWaiter::GetReadLaterEntries(
    ReadLaterEntriesByStatusPtr* out_entries) {}

ReadLaterEntriesByStatusPtr PageHandlerAsyncWaiter::GetReadLaterEntries(
    ) {}




void PageInterceptorForTesting::ItemsChanged(ReadLaterEntriesByStatusPtr entries) {}
void PageInterceptorForTesting::CurrentPageActionButtonStateChanged(CurrentPageActionButtonState state) {}
PageAsyncWaiter::PageAsyncWaiter(
    Page* proxy) :{}

PageAsyncWaiter::~PageAsyncWaiter() = default;






}  // reading_list::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif