chromium/out/Default/gen/components/content_settings/core/common/content_settings.mojom.cc

// components/content_settings/core/common/content_settings.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 "components/content_settings/core/common/content_settings.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 "components/content_settings/core/common/content_settings.mojom-params-data.h"
#include "components/content_settings/core/common/content_settings.mojom-shared-message-ids.h"

#include "components/content_settings/core/common/content_settings.mojom-import-headers.h"
#include "components/content_settings/core/common/content_settings.mojom-test-utils.h"
#include "components/content_settings/core/common/content_settings_param_traits.h"


namespace content_settings::mojom {
PatternParts::PatternParts()
    :{}

PatternParts::PatternParts(
    const std::string& scheme_in,
    bool is_scheme_wildcard_in,
    const std::string& host_in,
    bool has_domain_wildcard_in,
    const std::string& port_in,
    bool is_port_wildcard_in,
    const std::string& path_in,
    bool is_path_wildcard_in)
    :{}

PatternParts::~PatternParts() = default;

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

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

ContentSettingsPattern::ContentSettingsPattern(
    const ::ContentSettingsPattern::PatternParts& parts_in,
    bool is_valid_in)
    :{}

ContentSettingsPattern::~ContentSettingsPattern() = default;

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

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

RuleMetaData::RuleMetaData(
    ::base::Time last_modified_in,
    ::base::Time last_used_in,
    ::base::Time last_visited_in,
    ::base::Time expiration_in,
    ::content_settings::mojom::SessionModel session_model_in,
    ::base::TimeDelta lifetime_in,
    ::content_settings::mojom::TpcdMetadataRuleSource tpcd_metadata_rule_source_in,
    ::content_settings::mojom::TpcdMetadataCohort tpcd_metadata_cohort_in,
    bool decided_by_related_website_sets_in)
    :{}

RuleMetaData::~RuleMetaData() = default;

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

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

ContentSettingPatternSource::ContentSettingPatternSource(
    const ::ContentSettingsPattern& primary_pattern_in,
    const ::ContentSettingsPattern& secondary_pattern_in,
    ::base::Value setting_value_in,
    const ::content_settings::RuleMetaData& metadata_in,
    ::content_settings::mojom::ProviderType source_in,
    bool incognito_in)
    :{}

ContentSettingPatternSource::~ContentSettingPatternSource() = default;

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

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

RendererContentSettingRules::RendererContentSettingRules(
    std::vector<::ContentSettingPatternSource> mixed_content_rules_in)
    :{}

RendererContentSettingRules::~RendererContentSettingRules() = default;

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

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


}  // content_settings::mojom


namespace mojo {


// static
bool StructTraits<::content_settings::mojom::PatternParts::DataView, ::content_settings::mojom::PatternPartsPtr>::Read(
    ::content_settings::mojom::PatternParts::DataView input,
    ::content_settings::mojom::PatternPartsPtr* output) {}


// static
bool StructTraits<::content_settings::mojom::ContentSettingsPattern::DataView, ::content_settings::mojom::ContentSettingsPatternPtr>::Read(
    ::content_settings::mojom::ContentSettingsPattern::DataView input,
    ::content_settings::mojom::ContentSettingsPatternPtr* output) {}


// static
bool StructTraits<::content_settings::mojom::RuleMetaData::DataView, ::content_settings::mojom::RuleMetaDataPtr>::Read(
    ::content_settings::mojom::RuleMetaData::DataView input,
    ::content_settings::mojom::RuleMetaDataPtr* output) {}


// static
bool StructTraits<::content_settings::mojom::ContentSettingPatternSource::DataView, ::content_settings::mojom::ContentSettingPatternSourcePtr>::Read(
    ::content_settings::mojom::ContentSettingPatternSource::DataView input,
    ::content_settings::mojom::ContentSettingPatternSourcePtr* output) {}


// static
bool StructTraits<::content_settings::mojom::RendererContentSettingRules::DataView, ::content_settings::mojom::RendererContentSettingRulesPtr>::Read(
    ::content_settings::mojom::RendererContentSettingRules::DataView input,
    ::content_settings::mojom::RendererContentSettingRulesPtr* 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 content_settings::mojom {




}  // content_settings::mojom


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