chromium/out/Default/gen/components/metrics/public/mojom/call_stack_profile_collector.mojom-shared.h

// components/metrics/public/mojom/call_stack_profile_collector.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_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_MOJOM_SHARED_H_
#define COMPONENTS_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_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/metrics/public/mojom/call_stack_profile_collector.mojom-shared-internal.h"
#include "mojo/public/mojom/base/byte_string.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace metrics::mojom {
class SampledProfileDataView;



}  // metrics::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::metrics::mojom::SampledProfileDataView> {};

}  // namespace internal
}  // namespace mojo


namespace metrics::mojom {


enum class ProfileType : int32_t {};

 std::ostream& operator<<(std::ostream& os, ProfileType value);
inline bool IsKnownEnumValue(ProfileType value) {}
// Interface base classes. They are used for type safety check.
class CallStackProfileCollectorInterfaceBase {};

CallStackProfileCollectorPtrDataView;
CallStackProfileCollectorRequestDataView;
CallStackProfileCollectorAssociatedPtrInfoDataView;
CallStackProfileCollectorAssociatedRequestDataView;


class SampledProfileDataView {};


}  // metrics::mojom

namespace std {

template <>
struct hash<::metrics::mojom::ProfileType>
    : public mojo::internal::EnumHashImpl<::metrics::mojom::ProfileType> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::metrics::mojom::ProfileType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::metrics::mojom::SampledProfileDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace metrics::mojom {

inline void SampledProfileDataView::GetContentsDataView(
    ::mojo_base::mojom::ByteStringDataView* output) {}



}  // metrics::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::metrics::mojom::ProfileType> {};

} // namespace perfetto

#endif  // COMPONENTS_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_MOJOM_SHARED_H_