#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "third_party/blink/public/mojom/manifest/manifest_manager.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/manifest/manifest_manager.mojom-params-data.h"
#include "third_party/blink/public/mojom/manifest/manifest_manager.mojom-shared-message-ids.h"
#include "third_party/blink/public/mojom/manifest/manifest_manager.mojom-import-headers.h"
#include "third_party/blink/public/mojom/manifest/manifest_manager.mojom-test-utils.h"
#include "third_party/blink/common/permissions_policy/permissions_policy_mojom_traits.h"
#include "third_party/blink/public/common/manifest/manifest_mojom_traits.h"
namespace blink::mojom {
const char ManifestManager::Name_[] = …;
ManifestManager::IPCStableHashFunction ManifestManager::MessageToMethodInfo_(mojo::Message& message) { … }
const char* ManifestManager::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ManifestManager::RequestManifest_Sym::IPCStableHash() { … }
uint32_t ManifestManager::RequestManifestDebugInfo_Sym::IPCStableHash() { … }
uint32_t ManifestManager::ParseManifestFromString_Sym::IPCStableHash() { … }
# endif
class ManifestManager_RequestManifest_ForwardToCallback
: public mojo::MessageReceiver { … };
class ManifestManager_RequestManifestDebugInfo_ForwardToCallback
: public mojo::MessageReceiver { … };
class ManifestManager_ParseManifestFromString_ForwardToCallback
: public mojo::MessageReceiver { … };
ManifestManagerProxy::ManifestManagerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void ManifestManagerProxy::RequestManifest(
RequestManifestCallback callback) { … }
void ManifestManagerProxy::RequestManifestDebugInfo(
RequestManifestDebugInfoCallback callback) { … }
void ManifestManagerProxy::ParseManifestFromString(
const ::GURL& in_document_url, const ::GURL& in_manifest_url, const std::string& in_manifest_content, ParseManifestFromStringCallback callback) { … }
class ManifestManager_RequestManifest_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool ManifestManager_RequestManifest_ForwardToCallback::Accept(
mojo::Message* message) { … }
void ManifestManager_RequestManifest_ProxyToResponder::Run(
::blink::mojom::ManifestRequestResult in_result, const ::GURL& in_url, ::blink::mojom::ManifestPtr in_manifest) { … }
class ManifestManager_RequestManifestDebugInfo_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool ManifestManager_RequestManifestDebugInfo_ForwardToCallback::Accept(
mojo::Message* message) { … }
void ManifestManager_RequestManifestDebugInfo_ProxyToResponder::Run(
const ::GURL& in_url, ::blink::mojom::ManifestPtr in_parsed_manifest, ::blink::mojom::ManifestDebugInfoPtr in_debug_info) { … }
class ManifestManager_ParseManifestFromString_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool ManifestManager_ParseManifestFromString_ForwardToCallback::Accept(
mojo::Message* message) { … }
void ManifestManager_ParseManifestFromString_ProxyToResponder::Run(
::blink::mojom::ManifestPtr in_parsed_manifest) { … }
bool ManifestManagerStubDispatch::Accept(
ManifestManager* impl,
mojo::Message* message) { … }
bool ManifestManagerStubDispatch::AcceptWithResponder(
ManifestManager* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kManifestManagerValidationInfo[] = …;
bool ManifestManagerRequestValidator::Accept(mojo::Message* message) { … }
bool ManifestManagerResponseValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
}
namespace blink::mojom {
void ManifestManagerInterceptorForTesting::RequestManifest(RequestManifestCallback callback) { … }
void ManifestManagerInterceptorForTesting::RequestManifestDebugInfo(RequestManifestDebugInfoCallback callback) { … }
void ManifestManagerInterceptorForTesting::ParseManifestFromString(const ::GURL& document_url, const ::GURL& manifest_url, const std::string& manifest_content, ParseManifestFromStringCallback callback) { … }
ManifestManagerAsyncWaiter::ManifestManagerAsyncWaiter(
ManifestManager* proxy) : … { … }
ManifestManagerAsyncWaiter::~ManifestManagerAsyncWaiter() = default;
void ManifestManagerAsyncWaiter::RequestManifest(
::blink::mojom::ManifestRequestResult* out_result, ::GURL* out_url, ::blink::mojom::ManifestPtr* out_manifest) { … }
void ManifestManagerAsyncWaiter::RequestManifestDebugInfo(
::GURL* out_url, ::blink::mojom::ManifestPtr* out_parsed_manifest, ::blink::mojom::ManifestDebugInfoPtr* out_debug_info) { … }
void ManifestManagerAsyncWaiter::ParseManifestFromString(
const ::GURL& document_url, const ::GURL& manifest_url, const std::string& manifest_content, ::blink::mojom::ManifestPtr* out_parsed_manifest) { … }
::blink::mojom::ManifestPtr ManifestManagerAsyncWaiter::ParseManifestFromString(
const ::GURL& document_url, const ::GURL& manifest_url, const std::string& manifest_content) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif