chromium/out/Default/gen/third_party/blink/public/mojom/notifications/notification_service.mojom.cc

// third_party/blink/public/mojom/notifications/notification_service.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 "third_party/blink/public/mojom/notifications/notification_service.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/notifications/notification_service.mojom-params-data.h"
#include "third_party/blink/public/mojom/notifications/notification_service.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/notifications/notification_service.mojom-import-headers.h"
#include "third_party/blink/public/mojom/notifications/notification_service.mojom-test-utils.h"


namespace blink::mojom {
const char NonPersistentNotificationListener::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t NonPersistentNotificationListener::OnShow_Sym::IPCStableHash() {}
uint32_t NonPersistentNotificationListener::OnClick_Sym::IPCStableHash() {}
uint32_t NonPersistentNotificationListener::OnClose_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class NonPersistentNotificationListener_OnClick_ForwardToCallback
    : public mojo::MessageReceiver {};

class NonPersistentNotificationListener_OnClose_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void NonPersistentNotificationListenerProxy::OnShow(
    ) {}

void NonPersistentNotificationListenerProxy::OnClick(
    OnClickCallback callback) {}

void NonPersistentNotificationListenerProxy::OnClose(
    OnCloseCallback callback) {}
class NonPersistentNotificationListener_OnClick_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NonPersistentNotificationListener_OnClick_ProxyToResponder::Run(
    ) {}
class NonPersistentNotificationListener_OnClose_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NonPersistentNotificationListener_OnClose_ProxyToResponder::Run(
    ) {}

// static
bool NonPersistentNotificationListenerStubDispatch::Accept(
    NonPersistentNotificationListener* impl,
    mojo::Message* message) {}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t NotificationService::GetPermissionStatus_Sym::IPCStableHash() {}
uint32_t NotificationService::DisplayNonPersistentNotification_Sym::IPCStableHash() {}
uint32_t NotificationService::CloseNonPersistentNotification_Sym::IPCStableHash() {}
uint32_t NotificationService::DisplayPersistentNotification_Sym::IPCStableHash() {}
uint32_t NotificationService::ClosePersistentNotification_Sym::IPCStableHash() {}
uint32_t NotificationService::GetNotifications_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)
bool NotificationService::GetPermissionStatus(::blink::mojom::PermissionStatus* out_status) {}
class NotificationService_GetPermissionStatus_HandleSyncResponse
    : public mojo::MessageReceiver {};

class NotificationService_GetPermissionStatus_ForwardToCallback
    : public mojo::MessageReceiver {};

class NotificationService_DisplayPersistentNotification_ForwardToCallback
    : public mojo::MessageReceiver {};

class NotificationService_GetNotifications_ForwardToCallback
    : public mojo::MessageReceiver {};

NotificationServiceProxy::NotificationServiceProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}
bool NotificationServiceProxy::GetPermissionStatus(
    ::blink::mojom::PermissionStatus* out_param_status) {}

void NotificationServiceProxy::GetPermissionStatus(
    GetPermissionStatusCallback callback) {}

void NotificationServiceProxy::DisplayNonPersistentNotification(
    const std::string& in_token, const ::blink::PlatformNotificationData& in_notification_data, const ::blink::NotificationResources& in_notification_resources, ::mojo::PendingRemote<NonPersistentNotificationListener> in_event_listener) {}

void NotificationServiceProxy::CloseNonPersistentNotification(
    const std::string& in_token) {}

void NotificationServiceProxy::DisplayPersistentNotification(
    int64_t in_service_worker_registration_id, const ::blink::PlatformNotificationData& in_notification_data, const ::blink::NotificationResources& in_notification_resources, DisplayPersistentNotificationCallback callback) {}

void NotificationServiceProxy::ClosePersistentNotification(
    const std::string& in_notification_id) {}

void NotificationServiceProxy::GetNotifications(
    int64_t in_service_worker_registration_id, const std::string& in_filter_tag, bool in_include_triggered, GetNotificationsCallback callback) {}
class NotificationService_GetPermissionStatus_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NotificationService_GetPermissionStatus_ProxyToResponder::Run(
    ::blink::mojom::PermissionStatus in_status) {}
bool NotificationService_GetPermissionStatus_HandleSyncResponse::Accept(
    mojo::Message* message) {}
class NotificationService_DisplayPersistentNotification_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NotificationService_DisplayPersistentNotification_ProxyToResponder::Run(
    PersistentNotificationError in_error) {}
class NotificationService_GetNotifications_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NotificationService_GetNotifications_ProxyToResponder::Run(
    const std::vector<std::string>& in_notification_ids, const std::vector<::blink::PlatformNotificationData>& in_notification_datas) {}

// static
bool NotificationServiceStubDispatch::Accept(
    NotificationService* impl,
    mojo::Message* message) {}

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

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

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


}  // blink::mojom


namespace mojo {

}  // namespace mojo


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


namespace blink::mojom {


void NonPersistentNotificationListenerInterceptorForTesting::OnShow() {}
void NonPersistentNotificationListenerInterceptorForTesting::OnClick(OnClickCallback callback) {}
void NonPersistentNotificationListenerInterceptorForTesting::OnClose(OnCloseCallback callback) {}
NonPersistentNotificationListenerAsyncWaiter::NonPersistentNotificationListenerAsyncWaiter(
    NonPersistentNotificationListener* proxy) :{}

NonPersistentNotificationListenerAsyncWaiter::~NonPersistentNotificationListenerAsyncWaiter() = default;

void NonPersistentNotificationListenerAsyncWaiter::OnClick(
    ) {}



void NonPersistentNotificationListenerAsyncWaiter::OnClose(
    ) {}






void NotificationServiceInterceptorForTesting::GetPermissionStatus(GetPermissionStatusCallback callback) {}
void NotificationServiceInterceptorForTesting::DisplayNonPersistentNotification(const std::string& token, const ::blink::PlatformNotificationData& notification_data, const ::blink::NotificationResources& notification_resources, ::mojo::PendingRemote<NonPersistentNotificationListener> event_listener) {}
void NotificationServiceInterceptorForTesting::CloseNonPersistentNotification(const std::string& token) {}
void NotificationServiceInterceptorForTesting::DisplayPersistentNotification(int64_t service_worker_registration_id, const ::blink::PlatformNotificationData& notification_data, const ::blink::NotificationResources& notification_resources, DisplayPersistentNotificationCallback callback) {}
void NotificationServiceInterceptorForTesting::ClosePersistentNotification(const std::string& notification_id) {}
void NotificationServiceInterceptorForTesting::GetNotifications(int64_t service_worker_registration_id, const std::string& filter_tag, bool include_triggered, GetNotificationsCallback callback) {}
NotificationServiceAsyncWaiter::NotificationServiceAsyncWaiter(
    NotificationService* proxy) :{}

NotificationServiceAsyncWaiter::~NotificationServiceAsyncWaiter() = default;

void NotificationServiceAsyncWaiter::GetPermissionStatus(
    ::blink::mojom::PermissionStatus* out_status) {}

::blink::mojom::PermissionStatus NotificationServiceAsyncWaiter::GetPermissionStatus(
    ) {}

void NotificationServiceAsyncWaiter::DisplayPersistentNotification(
    int64_t service_worker_registration_id, const ::blink::PlatformNotificationData& notification_data, const ::blink::NotificationResources& notification_resources, PersistentNotificationError* out_error) {}

PersistentNotificationError NotificationServiceAsyncWaiter::DisplayPersistentNotification(
    int64_t service_worker_registration_id, const ::blink::PlatformNotificationData& notification_data, const ::blink::NotificationResources& notification_resources) {}

void NotificationServiceAsyncWaiter::GetNotifications(
    int64_t service_worker_registration_id, const std::string& filter_tag, bool include_triggered, std::vector<std::string>* out_notification_ids, std::vector<::blink::PlatformNotificationData>* out_notification_datas) {}








}  // blink::mojom


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