chromium/out/Default/gen/ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom.cc

// ui/webui/resources/cr_components/history_embeddings/history_embeddings.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 "ui/webui/resources/cr_components/history_embeddings/history_embeddings.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 "ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-params-data.h"
#include "ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-shared-message-ids.h"

#include "ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-import-headers.h"
#include "ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-test-utils.h"


namespace history_embeddings::mojom {
AnswerData::AnswerData()
    :{}

AnswerData::AnswerData(
    std::vector<std::string> answer_text_directives_in)
    :{}

AnswerData::~AnswerData() = default;

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

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

SearchResultItem::SearchResultItem(
    const std::string& title_in,
    const ::GURL& url_in,
    const std::string& url_for_display_in,
    const std::string& relative_time_in,
    double last_url_visit_timestamp_in,
    const std::string& source_passage_in,
    AnswerDataPtr answer_data_in)
    :{}

SearchResultItem::~SearchResultItem() = default;

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

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

SearchQuery::SearchQuery(
    const std::string& query_in,
    std::optional<::base::Time> time_range_start_in)
    :{}

SearchQuery::~SearchQuery() = default;

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

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

SearchResult::SearchResult(
    const std::string& query_in,
    const std::string& answer_in,
    std::vector<SearchResultItemPtr> items_in)
    :{}

SearchResult::~SearchResult() = default;

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

bool SearchResult::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
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::SetPage_Sym::IPCStableHash() {}
uint32_t PageHandler::Search_Sym::IPCStableHash() {}
uint32_t PageHandler::SendQualityLog_Sym::IPCStableHash() {}
uint32_t PageHandler::RecordSearchResultsMetrics_Sym::IPCStableHash() {}
uint32_t PageHandler::SetUserFeedback_Sym::IPCStableHash() {}
uint32_t PageHandler::MaybeShowFeaturePromo_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void PageHandlerProxy::SetPage(
    ::mojo::PendingRemote<Page> in_page) {}

void PageHandlerProxy::Search(
    SearchQueryPtr in_query) {}

void PageHandlerProxy::SendQualityLog(
    const std::vector<uint32_t>& in_selected_indices, uint32_t in_num_entered_chars) {}

void PageHandlerProxy::RecordSearchResultsMetrics(
    bool in_nonEmptyResults, bool in_userClickedResult) {}

void PageHandlerProxy::SetUserFeedback(
    UserFeedback in_feedback) {}

void PageHandlerProxy::MaybeShowFeaturePromo(
    ) {}

// 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) {}

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::SearchResultChanged_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void PageProxy::SearchResultChanged(
    SearchResultPtr in_result) {}

// 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) {}



}  // history_embeddings::mojom


namespace mojo {


// static
bool StructTraits<::history_embeddings::mojom::AnswerData::DataView, ::history_embeddings::mojom::AnswerDataPtr>::Read(
    ::history_embeddings::mojom::AnswerData::DataView input,
    ::history_embeddings::mojom::AnswerDataPtr* output) {}


// static
bool StructTraits<::history_embeddings::mojom::SearchResultItem::DataView, ::history_embeddings::mojom::SearchResultItemPtr>::Read(
    ::history_embeddings::mojom::SearchResultItem::DataView input,
    ::history_embeddings::mojom::SearchResultItemPtr* output) {}


// static
bool StructTraits<::history_embeddings::mojom::SearchQuery::DataView, ::history_embeddings::mojom::SearchQueryPtr>::Read(
    ::history_embeddings::mojom::SearchQuery::DataView input,
    ::history_embeddings::mojom::SearchQueryPtr* output) {}


// static
bool StructTraits<::history_embeddings::mojom::SearchResult::DataView, ::history_embeddings::mojom::SearchResultPtr>::Read(
    ::history_embeddings::mojom::SearchResult::DataView input,
    ::history_embeddings::mojom::SearchResultPtr* 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 history_embeddings::mojom {


void PageHandlerInterceptorForTesting::SetPage(::mojo::PendingRemote<Page> page) {}
void PageHandlerInterceptorForTesting::Search(SearchQueryPtr query) {}
void PageHandlerInterceptorForTesting::SendQualityLog(const std::vector<uint32_t>& selected_indices, uint32_t num_entered_chars) {}
void PageHandlerInterceptorForTesting::RecordSearchResultsMetrics(bool nonEmptyResults, bool userClickedResult) {}
void PageHandlerInterceptorForTesting::SetUserFeedback(UserFeedback feedback) {}
void PageHandlerInterceptorForTesting::MaybeShowFeaturePromo() {}
PageHandlerAsyncWaiter::PageHandlerAsyncWaiter(
    PageHandler* proxy) :{}

PageHandlerAsyncWaiter::~PageHandlerAsyncWaiter() = default;




void PageInterceptorForTesting::SearchResultChanged(SearchResultPtr result) {}
PageAsyncWaiter::PageAsyncWaiter(
    Page* proxy) :{}

PageAsyncWaiter::~PageAsyncWaiter() = default;






}  // history_embeddings::mojom


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