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

// chrome/browser/ui/webui/side_panel/customize_chrome/customize_toolbar/customize_toolbar.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/customize_chrome/customize_toolbar/customize_toolbar.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/customize_chrome/customize_toolbar/customize_toolbar.mojom-params-data.h"
#include "chrome/browser/ui/webui/side_panel/customize_chrome/customize_toolbar/customize_toolbar.mojom-shared-message-ids.h"

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


namespace side_panel::customize_chrome::mojom {
Action::Action()
    :{}

Action::Action(
    ActionId id_in,
    const std::string& display_name_in,
    bool pinned_in,
    CategoryId category_in,
    const ::GURL& icon_url_in)
    :{}

Action::~Action() = default;

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

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

Category::Category(
    CategoryId id_in,
    const std::string& display_name_in)
    :{}

Category::~Category() = default;
size_t Category::Hash(size_t seed) const {}

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CustomizeToolbarHandlerFactory::CreateCustomizeToolbarHandler_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void CustomizeToolbarHandlerFactoryProxy::CreateCustomizeToolbarHandler(
    ::mojo::PendingRemote<CustomizeToolbarClient> in_client, ::mojo::PendingReceiver<CustomizeToolbarHandler> in_handler) {}

// static
bool CustomizeToolbarHandlerFactoryStubDispatch::Accept(
    CustomizeToolbarHandlerFactory* impl,
    mojo::Message* message) {}

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

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

const char CustomizeToolbarHandler::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CustomizeToolbarHandler::ListActions_Sym::IPCStableHash() {}
uint32_t CustomizeToolbarHandler::ListCategories_Sym::IPCStableHash() {}
uint32_t CustomizeToolbarHandler::PinAction_Sym::IPCStableHash() {}
uint32_t CustomizeToolbarHandler::GetIsCustomized_Sym::IPCStableHash() {}
uint32_t CustomizeToolbarHandler::ResetToDefault_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class CustomizeToolbarHandler_ListActions_ForwardToCallback
    : public mojo::MessageReceiver {};

class CustomizeToolbarHandler_ListCategories_ForwardToCallback
    : public mojo::MessageReceiver {};

class CustomizeToolbarHandler_GetIsCustomized_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void CustomizeToolbarHandlerProxy::ListActions(
    ListActionsCallback callback) {}

void CustomizeToolbarHandlerProxy::ListCategories(
    ListCategoriesCallback callback) {}

void CustomizeToolbarHandlerProxy::PinAction(
    ActionId in_action_id, bool in_pinned) {}

void CustomizeToolbarHandlerProxy::GetIsCustomized(
    GetIsCustomizedCallback callback) {}

void CustomizeToolbarHandlerProxy::ResetToDefault(
    ) {}
class CustomizeToolbarHandler_ListActions_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CustomizeToolbarHandler_ListActions_ProxyToResponder::Run(
    std::vector<ActionPtr> in_actions) {}
class CustomizeToolbarHandler_ListCategories_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CustomizeToolbarHandler_ListCategories_ProxyToResponder::Run(
    std::vector<CategoryPtr> in_categories) {}
class CustomizeToolbarHandler_GetIsCustomized_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CustomizeToolbarHandler_GetIsCustomized_ProxyToResponder::Run(
    bool in_customized) {}

// static
bool CustomizeToolbarHandlerStubDispatch::Accept(
    CustomizeToolbarHandler* impl,
    mojo::Message* message) {}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CustomizeToolbarClient::SetActionPinned_Sym::IPCStableHash() {}
uint32_t CustomizeToolbarClient::NotifyActionsUpdated_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void CustomizeToolbarClientProxy::SetActionPinned(
    ActionId in_action_id, bool in_pinned) {}

void CustomizeToolbarClientProxy::NotifyActionsUpdated(
    ) {}

// static
bool CustomizeToolbarClientStubDispatch::Accept(
    CustomizeToolbarClient* impl,
    mojo::Message* message) {}

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

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



}  // side_panel::customize_chrome::mojom


namespace mojo {


// static
bool StructTraits<::side_panel::customize_chrome::mojom::Action::DataView, ::side_panel::customize_chrome::mojom::ActionPtr>::Read(
    ::side_panel::customize_chrome::mojom::Action::DataView input,
    ::side_panel::customize_chrome::mojom::ActionPtr* output) {}


// static
bool StructTraits<::side_panel::customize_chrome::mojom::Category::DataView, ::side_panel::customize_chrome::mojom::CategoryPtr>::Read(
    ::side_panel::customize_chrome::mojom::Category::DataView input,
    ::side_panel::customize_chrome::mojom::CategoryPtr* 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 side_panel::customize_chrome::mojom {


void CustomizeToolbarHandlerFactoryInterceptorForTesting::CreateCustomizeToolbarHandler(::mojo::PendingRemote<CustomizeToolbarClient> client, ::mojo::PendingReceiver<CustomizeToolbarHandler> handler) {}
CustomizeToolbarHandlerFactoryAsyncWaiter::CustomizeToolbarHandlerFactoryAsyncWaiter(
    CustomizeToolbarHandlerFactory* proxy) :{}

CustomizeToolbarHandlerFactoryAsyncWaiter::~CustomizeToolbarHandlerFactoryAsyncWaiter() = default;




void CustomizeToolbarHandlerInterceptorForTesting::ListActions(ListActionsCallback callback) {}
void CustomizeToolbarHandlerInterceptorForTesting::ListCategories(ListCategoriesCallback callback) {}
void CustomizeToolbarHandlerInterceptorForTesting::PinAction(ActionId action_id, bool pinned) {}
void CustomizeToolbarHandlerInterceptorForTesting::GetIsCustomized(GetIsCustomizedCallback callback) {}
void CustomizeToolbarHandlerInterceptorForTesting::ResetToDefault() {}
CustomizeToolbarHandlerAsyncWaiter::CustomizeToolbarHandlerAsyncWaiter(
    CustomizeToolbarHandler* proxy) :{}

CustomizeToolbarHandlerAsyncWaiter::~CustomizeToolbarHandlerAsyncWaiter() = default;

void CustomizeToolbarHandlerAsyncWaiter::ListActions(
    std::vector<ActionPtr>* out_actions) {}

std::vector<ActionPtr> CustomizeToolbarHandlerAsyncWaiter::ListActions(
    ) {}

void CustomizeToolbarHandlerAsyncWaiter::ListCategories(
    std::vector<CategoryPtr>* out_categories) {}

std::vector<CategoryPtr> CustomizeToolbarHandlerAsyncWaiter::ListCategories(
    ) {}

void CustomizeToolbarHandlerAsyncWaiter::GetIsCustomized(
    bool* out_customized) {}

bool CustomizeToolbarHandlerAsyncWaiter::GetIsCustomized(
    ) {}




void CustomizeToolbarClientInterceptorForTesting::SetActionPinned(ActionId action_id, bool pinned) {}
void CustomizeToolbarClientInterceptorForTesting::NotifyActionsUpdated() {}
CustomizeToolbarClientAsyncWaiter::CustomizeToolbarClientAsyncWaiter(
    CustomizeToolbarClient* proxy) :{}

CustomizeToolbarClientAsyncWaiter::~CustomizeToolbarClientAsyncWaiter() = default;






}  // side_panel::customize_chrome::mojom


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