chromium/out/Default/gen/third_party/blink/public/mojom/devtools/inspector_issue.mojom.cc

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

#include "third_party/blink/public/mojom/devtools/inspector_issue.mojom-import-headers.h"
#include "third_party/blink/public/mojom/devtools/inspector_issue.mojom-test-utils.h"


namespace blink::mojom {
AffectedCookie::AffectedCookie()
    :{}

AffectedCookie::AffectedCookie(
    const std::string& name_in,
    const std::string& path_in,
    const std::string& domain_in)
    :{}

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

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

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

AffectedRequest::AffectedRequest(
    const std::string& request_id_in,
    const std::optional<std::string>& url_in)
    :{}

AffectedRequest::~AffectedRequest() = default;

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

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

AffectedFrame::AffectedFrame(
    const std::string& frame_id_in)
    :{}

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

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

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

AffectedLocation::AffectedLocation(
    const std::optional<std::string>& script_id_in,
    const std::optional<std::string>& url_in,
    uint32_t line_in,
    uint32_t column_in)
    :{}

AffectedLocation::~AffectedLocation() = default;

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

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

BlockedByResponseIssueDetails::BlockedByResponseIssueDetails(
    AffectedRequestPtr request_in,
    AffectedFramePtr parentFrame_in,
    AffectedFramePtr blockedFrame_in,
    ::network::mojom::BlockedByResponseReason reason_in)
    :{}

BlockedByResponseIssueDetails::~BlockedByResponseIssueDetails() = default;

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

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

HeavyAdIssueDetails::HeavyAdIssueDetails(
    HeavyAdResolutionStatus resolution_in,
    HeavyAdReason reason_in,
    AffectedFramePtr frame_in)
    :{}

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

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

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

AttributionReportingIssueDetails::AttributionReportingIssueDetails(
    AttributionReportingIssueType violation_type_in,
    AffectedRequestPtr request_in,
    const std::optional<std::string>& invalid_parameter_in)
    :{}

AttributionReportingIssueDetails::~AttributionReportingIssueDetails() = default;

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

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

MixedContentIssueDetails::MixedContentIssueDetails(
    ::blink::mojom::RequestContextType request_context_in,
    MixedContentResolutionStatus resolution_status_in,
    const std::string& insecure_url_in,
    const std::string& main_resource_url_in,
    AffectedRequestPtr request_in,
    AffectedFramePtr frame_in)
    :{}

MixedContentIssueDetails::~MixedContentIssueDetails() = default;

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

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

ContentSecurityPolicyIssueDetails::ContentSecurityPolicyIssueDetails(
    const std::optional<::GURL>& blocked_url_in,
    const std::string& violated_directive_in,
    bool is_report_only_in,
    ContentSecurityPolicyViolationType content_security_policy_violation_type_in,
    AffectedFramePtr frame_ancestor_in,
    AffectedLocationPtr affected_location_in,
    int32_t violating_node_id_in)
    :{}

ContentSecurityPolicyIssueDetails::~ContentSecurityPolicyIssueDetails() = default;

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

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

CookieIssueDetails::CookieIssueDetails(
    AffectedCookiePtr cookie_in,
    std::vector<CookieExclusionReason> exclusion_reason_in,
    std::vector<CookieWarningReason> warning_reason_in,
    CookieOperation operation_in,
    const std::optional<::GURL>& site_for_cookies_in,
    const std::optional<::GURL>& cookie_url_in,
    AffectedRequestPtr request_in)
    :{}

CookieIssueDetails::~CookieIssueDetails() = default;

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

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

SharedArrayBufferIssueDetails::SharedArrayBufferIssueDetails(
    AffectedLocationPtr affected_location_in,
    bool is_warning_in,
    SharedArrayBufferIssueType type_in)
    :{}

SharedArrayBufferIssueDetails::~SharedArrayBufferIssueDetails() = default;

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

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

LowTextContrastIssue::LowTextContrastIssue(
    int32_t violating_node_id_in,
    const std::string& violating_node_selector_in,
    float contrast_ratio_in,
    float threshold_aa_in,
    float threshold_aaa_in,
    const std::string& font_size_in,
    const std::string& font_weight_in)
    :{}

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

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

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

FederatedAuthRequestIssueDetails::FederatedAuthRequestIssueDetails(
    FederatedAuthRequestResult status_in)
    :{}

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

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

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

FederatedAuthUserInfoRequestIssueDetails::FederatedAuthUserInfoRequestIssueDetails(
    FederatedAuthUserInfoRequestResult status_in)
    :{}

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

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

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

BounceTrackingIssueDetails::BounceTrackingIssueDetails(
    std::vector<std::string> tracking_sites_in)
    :{}

BounceTrackingIssueDetails::~BounceTrackingIssueDetails() = default;

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

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

CookieDeprecationMetadataIssueDetails::CookieDeprecationMetadataIssueDetails(
    std::vector<std::string> allowed_sites_in,
    uint32_t opt_out_percentage_in,
    bool is_opt_out_top_level_in,
    CookieOperation operation_in)
    :{}

CookieDeprecationMetadataIssueDetails::~CookieDeprecationMetadataIssueDetails() = default;

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

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

GenericIssueDetails::GenericIssueDetails(
    GenericIssueErrorType error_type_in,
    const std::optional<std::string>& frame_id_in,
    int32_t violating_node_id_in,
    const std::optional<std::string>& violating_node_attribute_in)
    :{}

GenericIssueDetails::~GenericIssueDetails() = default;

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

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

DeprecationIssueDetails::DeprecationIssueDetails(
    DeprecationIssueType type_in,
    AffectedLocationPtr affected_location_in)
    :{}

DeprecationIssueDetails::~DeprecationIssueDetails() = default;

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

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

InspectorIssueDetails::InspectorIssueDetails(
    CookieIssueDetailsPtr cookie_issue_details_in,
    MixedContentIssueDetailsPtr mixed_content_issue_details_in,
    BlockedByResponseIssueDetailsPtr blocked_by_response_issue_details_in,
    ContentSecurityPolicyIssueDetailsPtr csp_issue_details_in,
    SharedArrayBufferIssueDetailsPtr sab_issue_details_in,
    HeavyAdIssueDetailsPtr heavy_ad_issue_details_in,
    AttributionReportingIssueDetailsPtr attribution_reporting_issue_details_in,
    LowTextContrastIssuePtr low_text_contrast_details_in,
    FederatedAuthRequestIssueDetailsPtr federated_auth_request_details_in,
    BounceTrackingIssueDetailsPtr bounce_tracking_issue_details_in,
    CookieDeprecationMetadataIssueDetailsPtr cookie_deprecation_metadata_issue_details_in,
    GenericIssueDetailsPtr generic_issue_details_in,
    DeprecationIssueDetailsPtr deprecation_issue_details_in,
    FederatedAuthUserInfoRequestIssueDetailsPtr federated_auth_user_info_request_details_in,
    const std::optional<::base::UnguessableToken>& issue_id_in)
    :{}

InspectorIssueDetails::~InspectorIssueDetails() = default;

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

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

InspectorIssueInfo::InspectorIssueInfo(
    InspectorIssueCode code_in,
    InspectorIssueDetailsPtr details_in)
    :{}

InspectorIssueInfo::~InspectorIssueInfo() = default;

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

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


}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::AffectedCookie::DataView, ::blink::mojom::AffectedCookiePtr>::Read(
    ::blink::mojom::AffectedCookie::DataView input,
    ::blink::mojom::AffectedCookiePtr* output) {}


// static
bool StructTraits<::blink::mojom::AffectedRequest::DataView, ::blink::mojom::AffectedRequestPtr>::Read(
    ::blink::mojom::AffectedRequest::DataView input,
    ::blink::mojom::AffectedRequestPtr* output) {}


// static
bool StructTraits<::blink::mojom::AffectedFrame::DataView, ::blink::mojom::AffectedFramePtr>::Read(
    ::blink::mojom::AffectedFrame::DataView input,
    ::blink::mojom::AffectedFramePtr* output) {}


// static
bool StructTraits<::blink::mojom::AffectedLocation::DataView, ::blink::mojom::AffectedLocationPtr>::Read(
    ::blink::mojom::AffectedLocation::DataView input,
    ::blink::mojom::AffectedLocationPtr* output) {}


// static
bool StructTraits<::blink::mojom::BlockedByResponseIssueDetails::DataView, ::blink::mojom::BlockedByResponseIssueDetailsPtr>::Read(
    ::blink::mojom::BlockedByResponseIssueDetails::DataView input,
    ::blink::mojom::BlockedByResponseIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::HeavyAdIssueDetails::DataView, ::blink::mojom::HeavyAdIssueDetailsPtr>::Read(
    ::blink::mojom::HeavyAdIssueDetails::DataView input,
    ::blink::mojom::HeavyAdIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::AttributionReportingIssueDetails::DataView, ::blink::mojom::AttributionReportingIssueDetailsPtr>::Read(
    ::blink::mojom::AttributionReportingIssueDetails::DataView input,
    ::blink::mojom::AttributionReportingIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::MixedContentIssueDetails::DataView, ::blink::mojom::MixedContentIssueDetailsPtr>::Read(
    ::blink::mojom::MixedContentIssueDetails::DataView input,
    ::blink::mojom::MixedContentIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::ContentSecurityPolicyIssueDetails::DataView, ::blink::mojom::ContentSecurityPolicyIssueDetailsPtr>::Read(
    ::blink::mojom::ContentSecurityPolicyIssueDetails::DataView input,
    ::blink::mojom::ContentSecurityPolicyIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::CookieIssueDetails::DataView, ::blink::mojom::CookieIssueDetailsPtr>::Read(
    ::blink::mojom::CookieIssueDetails::DataView input,
    ::blink::mojom::CookieIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::SharedArrayBufferIssueDetails::DataView, ::blink::mojom::SharedArrayBufferIssueDetailsPtr>::Read(
    ::blink::mojom::SharedArrayBufferIssueDetails::DataView input,
    ::blink::mojom::SharedArrayBufferIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::LowTextContrastIssue::DataView, ::blink::mojom::LowTextContrastIssuePtr>::Read(
    ::blink::mojom::LowTextContrastIssue::DataView input,
    ::blink::mojom::LowTextContrastIssuePtr* output) {}


// static
bool StructTraits<::blink::mojom::FederatedAuthRequestIssueDetails::DataView, ::blink::mojom::FederatedAuthRequestIssueDetailsPtr>::Read(
    ::blink::mojom::FederatedAuthRequestIssueDetails::DataView input,
    ::blink::mojom::FederatedAuthRequestIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::FederatedAuthUserInfoRequestIssueDetails::DataView, ::blink::mojom::FederatedAuthUserInfoRequestIssueDetailsPtr>::Read(
    ::blink::mojom::FederatedAuthUserInfoRequestIssueDetails::DataView input,
    ::blink::mojom::FederatedAuthUserInfoRequestIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::BounceTrackingIssueDetails::DataView, ::blink::mojom::BounceTrackingIssueDetailsPtr>::Read(
    ::blink::mojom::BounceTrackingIssueDetails::DataView input,
    ::blink::mojom::BounceTrackingIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::CookieDeprecationMetadataIssueDetails::DataView, ::blink::mojom::CookieDeprecationMetadataIssueDetailsPtr>::Read(
    ::blink::mojom::CookieDeprecationMetadataIssueDetails::DataView input,
    ::blink::mojom::CookieDeprecationMetadataIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::GenericIssueDetails::DataView, ::blink::mojom::GenericIssueDetailsPtr>::Read(
    ::blink::mojom::GenericIssueDetails::DataView input,
    ::blink::mojom::GenericIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::DeprecationIssueDetails::DataView, ::blink::mojom::DeprecationIssueDetailsPtr>::Read(
    ::blink::mojom::DeprecationIssueDetails::DataView input,
    ::blink::mojom::DeprecationIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::InspectorIssueDetails::DataView, ::blink::mojom::InspectorIssueDetailsPtr>::Read(
    ::blink::mojom::InspectorIssueDetails::DataView input,
    ::blink::mojom::InspectorIssueDetailsPtr* output) {}


// static
bool StructTraits<::blink::mojom::InspectorIssueInfo::DataView, ::blink::mojom::InspectorIssueInfoPtr>::Read(
    ::blink::mojom::InspectorIssueInfo::DataView input,
    ::blink::mojom::InspectorIssueInfoPtr* 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 blink::mojom {




}  // blink::mojom


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