#include "components/content_settings/core/common/content_settings.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "components/content_settings/core/common/content_settings.mojom-params-data.h"
namespace content_settings {
namespace mojom {
NOINLINE static const char* ContentSettingToStringHelper(ContentSetting value) { … }
std::string ContentSettingToString(ContentSetting value) { … }
std::ostream& operator<<(std::ostream& os, ContentSetting value) { … }
namespace internal {
bool PatternParts_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PatternParts_Data::PatternParts_Data()
: … { … }
bool ContentSettingsPattern_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ContentSettingsPattern_Data::ContentSettingsPattern_Data()
: … { … }
bool RuleMetaData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RuleMetaData_Data::RuleMetaData_Data()
: … { … }
bool ContentSettingPatternSource_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ContentSettingPatternSource_Data::ContentSettingPatternSource_Data()
: … { … }
bool RendererContentSettingRules_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RendererContentSettingRules_Data::RendererContentSettingRules_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::content_settings::mojom::ContentSetting>::WriteIntoTrace(
perfetto::TracedValue context, ::content_settings::mojom::ContentSetting value) { … }
}