#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "third_party/blink/public/mojom/app_banner/app_banner.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 "third_party/blink/public/mojom/app_banner/app_banner.mojom-params-data.h"
#include "third_party/blink/public/mojom/app_banner/app_banner.mojom-shared-message-ids.h"
#include "third_party/blink/public/mojom/app_banner/app_banner.mojom-import-headers.h"
#include "third_party/blink/public/mojom/app_banner/app_banner.mojom-test-utils.h"
namespace blink::mojom {
const char AppBannerController::Name_[] = …;
AppBannerController::IPCStableHashFunction AppBannerController::MessageToMethodInfo_(mojo::Message& message) { … }
const char* AppBannerController::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AppBannerController::BannerPromptRequest_Sym::IPCStableHash() { … }
# endif
class AppBannerController_BannerPromptRequest_ForwardToCallback
: public mojo::MessageReceiver { … };
AppBannerControllerProxy::AppBannerControllerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void AppBannerControllerProxy::BannerPromptRequest(
::mojo::PendingRemote<AppBannerService> in_service, ::mojo::PendingReceiver<AppBannerEvent> in_event_receiver, const std::vector<std::string>& in_platform, BannerPromptRequestCallback callback) { … }
class AppBannerController_BannerPromptRequest_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool AppBannerController_BannerPromptRequest_ForwardToCallback::Accept(
mojo::Message* message) { … }
void AppBannerController_BannerPromptRequest_ProxyToResponder::Run(
AppBannerPromptReply in_reply) { … }
bool AppBannerControllerStubDispatch::Accept(
AppBannerController* impl,
mojo::Message* message) { … }
bool AppBannerControllerStubDispatch::AcceptWithResponder(
AppBannerController* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kAppBannerControllerValidationInfo[] = …;
bool AppBannerControllerRequestValidator::Accept(mojo::Message* message) { … }
bool AppBannerControllerResponseValidator::Accept(mojo::Message* message) { … }
const char AppBannerEvent::Name_[] = …;
AppBannerEvent::IPCStableHashFunction AppBannerEvent::MessageToMethodInfo_(mojo::Message& message) { … }
const char* AppBannerEvent::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AppBannerEvent::BannerAccepted_Sym::IPCStableHash() { … }
uint32_t AppBannerEvent::BannerDismissed_Sym::IPCStableHash() { … }
# endif
AppBannerEventProxy::AppBannerEventProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void AppBannerEventProxy::BannerAccepted(
const std::string& in_platform) { … }
void AppBannerEventProxy::BannerDismissed(
) { … }
bool AppBannerEventStubDispatch::Accept(
AppBannerEvent* impl,
mojo::Message* message) { … }
bool AppBannerEventStubDispatch::AcceptWithResponder(
AppBannerEvent* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kAppBannerEventValidationInfo[] = …;
bool AppBannerEventRequestValidator::Accept(mojo::Message* message) { … }
const char AppBannerService::Name_[] = …;
AppBannerService::IPCStableHashFunction AppBannerService::MessageToMethodInfo_(mojo::Message& message) { … }
const char* AppBannerService::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AppBannerService::DisplayAppBanner_Sym::IPCStableHash() { … }
# endif
AppBannerServiceProxy::AppBannerServiceProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void AppBannerServiceProxy::DisplayAppBanner(
) { … }
bool AppBannerServiceStubDispatch::Accept(
AppBannerService* impl,
mojo::Message* message) { … }
bool AppBannerServiceStubDispatch::AcceptWithResponder(
AppBannerService* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kAppBannerServiceValidationInfo[] = …;
bool AppBannerServiceRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
}
namespace blink::mojom {
void AppBannerControllerInterceptorForTesting::BannerPromptRequest(::mojo::PendingRemote<AppBannerService> service, ::mojo::PendingReceiver<AppBannerEvent> event_receiver, const std::vector<std::string>& platform, BannerPromptRequestCallback callback) { … }
AppBannerControllerAsyncWaiter::AppBannerControllerAsyncWaiter(
AppBannerController* proxy) : … { … }
AppBannerControllerAsyncWaiter::~AppBannerControllerAsyncWaiter() = default;
void AppBannerControllerAsyncWaiter::BannerPromptRequest(
::mojo::PendingRemote<AppBannerService> service, ::mojo::PendingReceiver<AppBannerEvent> event_receiver, const std::vector<std::string>& platform, AppBannerPromptReply* out_reply) { … }
AppBannerPromptReply AppBannerControllerAsyncWaiter::BannerPromptRequest(
::mojo::PendingRemote<AppBannerService> service, ::mojo::PendingReceiver<AppBannerEvent> event_receiver, const std::vector<std::string>& platform) { … }
void AppBannerEventInterceptorForTesting::BannerAccepted(const std::string& platform) { … }
void AppBannerEventInterceptorForTesting::BannerDismissed() { … }
AppBannerEventAsyncWaiter::AppBannerEventAsyncWaiter(
AppBannerEvent* proxy) : … { … }
AppBannerEventAsyncWaiter::~AppBannerEventAsyncWaiter() = default;
void AppBannerServiceInterceptorForTesting::DisplayAppBanner() { … }
AppBannerServiceAsyncWaiter::AppBannerServiceAsyncWaiter(
AppBannerService* proxy) : … { … }
AppBannerServiceAsyncWaiter::~AppBannerServiceAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif