chromium/out/Default/gen/third_party/blink/public/mojom/safe_url_pattern.mojom-shared.h

// third_party/blink/public/mojom/safe_url_pattern.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_SAFE_URL_PATTERN_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_SAFE_URL_PATTERN_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "third_party/blink/public/mojom/safe_url_pattern.mojom-shared-internal.h"



#include "base/component_export.h"




namespace blink::mojom {
class SafeUrlPatternDataView;

class FixedPatternDataView;

class WildcardPatternDataView;

class SafeUrlPatternPartDataView;

class SafeUrlPatternOptionsDataView;

class PatternTemplateDataView;


}  // blink::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::blink::mojom::SafeUrlPatternDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::FixedPatternDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::WildcardPatternDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::SafeUrlPatternPartDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::SafeUrlPatternOptionsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::PatternTemplateDataView> {};

}  // namespace internal
}  // namespace mojo


namespace blinkmojom  // blink::mojom

namespace std {

template <>
struct hash<::blink::mojom::Modifier>
    : public mojo::internal::EnumHashImpl<::blink::mojom::Modifier> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::blink::mojom::Modifier, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::SafeUrlPatternDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::FixedPatternDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::WildcardPatternDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::SafeUrlPatternPartDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::SafeUrlPatternOptionsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::PatternTemplateDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace blink::mojom {

inline void SafeUrlPatternDataView::GetProtocolDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetUsernameDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetPasswordDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetHostnameDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetPortDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetPathnameDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetSearchDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetHashDataView(
    mojo::ArrayDataView<SafeUrlPatternPartDataView>* output) {}
inline void SafeUrlPatternDataView::GetOptionsDataView(
    SafeUrlPatternOptionsDataView* output) {}


inline void FixedPatternDataView::GetValueDataView(
    mojo::StringDataView* output) {}


inline void WildcardPatternDataView::GetNameDataView(
    mojo::StringDataView* output) {}
inline void WildcardPatternDataView::GetPrefixDataView(
    mojo::StringDataView* output) {}
inline void WildcardPatternDataView::GetValueDataView(
    mojo::StringDataView* output) {}
inline void WildcardPatternDataView::GetSuffixDataView(
    mojo::StringDataView* output) {}


inline void SafeUrlPatternPartDataView::GetPatternDataView(
    PatternTemplateDataView* output) {}




inline void PatternTemplateDataView::GetFixedDataView(
    FixedPatternDataView* output) const {}
inline void PatternTemplateDataView::GetFullWildcardDataView(
    WildcardPatternDataView* output) const {}
inline void PatternTemplateDataView::GetSegmentWildcardDataView(
    WildcardPatternDataView* output) const {}


}  // blink::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::Modifier> {};

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_SAFE_URL_PATTERN_MOJOM_SHARED_H_