chromium/out/Default/gen/components/variations/variations.mojom-shared.h

// components/variations/variations.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 COMPONENTS_VARIATIONS_VARIATIONS_MOJOM_SHARED_H_
#define COMPONENTS_VARIATIONS_VARIATIONS_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 "components/variations/variations.mojom-shared-internal.h"







namespace variations::mojom {
class VariationsHeadersDataView;



}  // variations::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::variations::mojom::VariationsHeadersDataView> {};

}  // namespace internal
}  // namespace mojo


namespace variations::mojom {


enum class GoogleWebVisibility : int32_t {};

 std::ostream& operator<<(std::ostream& os, GoogleWebVisibility value);
inline bool IsKnownEnumValue(GoogleWebVisibility value) {}


class VariationsHeadersDataView {};


}  // variations::mojom

namespace std {

template <>
struct hash<::variations::mojom::GoogleWebVisibility>
    : public mojo::internal::EnumHashImpl<::variations::mojom::GoogleWebVisibility> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::variations::mojom::GoogleWebVisibility, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::variations::mojom::VariationsHeadersDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace variations::mojom {

inline void VariationsHeadersDataView::GetHeadersMapDataView(
    mojo::MapDataView<GoogleWebVisibility, mojo::StringDataView>* output) {}



}  // variations::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::variations::mojom::GoogleWebVisibility> {};

} // namespace perfetto

#endif  // COMPONENTS_VARIATIONS_VARIATIONS_MOJOM_SHARED_H_