chromium/out/Default/gen/content/browser/process_internals/process_internals.mojom-shared.h

// content/browser/process_internals/process_internals.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 CONTENT_BROWSER_PROCESS_INTERNALS_PROCESS_INTERNALS_MOJOM_SHARED_H_
#define CONTENT_BROWSER_PROCESS_INTERNALS_PROCESS_INTERNALS_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 "content/browser/process_internals/process_internals.mojom-shared-internal.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace mojom {
class ProcessCountInfoDataView;

class SiteInstanceInfoDataView;

class FrameInfoDataView;

class WebContentsInfoDataView;

class IsolatedOriginInfoDataView;



}  // mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::mojom::ProcessCountInfoDataView> {};

template <>
struct MojomTypeTraits<::mojom::SiteInstanceInfoDataView> {};

template <>
struct MojomTypeTraits<::mojom::FrameInfoDataView> {};

template <>
struct MojomTypeTraits<::mojom::WebContentsInfoDataView> {};

template <>
struct MojomTypeTraits<::mojom::IsolatedOriginInfoDataView> {};

}  // namespace internal
}  // namespace mojo


namespace mojom {


enum class FrameInfo_Type : int32_t {};

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

ProcessInternalsHandlerPtrDataView;
ProcessInternalsHandlerRequestDataView;
ProcessInternalsHandlerAssociatedPtrInfoDataView;
ProcessInternalsHandlerAssociatedRequestDataView;


class ProcessCountInfoDataView {};


class SiteInstanceInfoDataView {};


class FrameInfoDataView {};


class WebContentsInfoDataView {};


class IsolatedOriginInfoDataView {};


}  // mojom

namespace std {

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

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::mojom::FrameInfo_Type, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojom::ProcessCountInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojom::SiteInstanceInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojom::FrameInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojom::WebContentsInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::mojom::IsolatedOriginInfoDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace mojom {



inline void SiteInstanceInfoDataView::GetSiteUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void SiteInstanceInfoDataView::GetProcessLockUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void SiteInstanceInfoDataView::GetStoragePartitionDataView(
    mojo::StringDataView* output) {}


inline void FrameInfoDataView::GetSiteInstanceDataView(
    SiteInstanceInfoDataView* output) {}
inline void FrameInfoDataView::GetLastCommittedUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void FrameInfoDataView::GetSubframesDataView(
    mojo::ArrayDataView<FrameInfoDataView>* output) {}


inline void WebContentsInfoDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void WebContentsInfoDataView::GetRootFrameDataView(
    FrameInfoDataView* output) {}
inline void WebContentsInfoDataView::GetBfcachedRootFramesDataView(
    mojo::ArrayDataView<FrameInfoDataView>* output) {}
inline void WebContentsInfoDataView::GetPrerenderRootFramesDataView(
    mojo::ArrayDataView<FrameInfoDataView>* output) {}


inline void IsolatedOriginInfoDataView::GetOriginDataView(
    mojo::StringDataView* output) {}
inline void IsolatedOriginInfoDataView::GetSourceDataView(
    mojo::StringDataView* output) {}



}  // mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::mojom::FrameInfo_Type> {};

} // namespace perfetto

#endif  // CONTENT_BROWSER_PROCESS_INTERNALS_PROCESS_INTERNALS_MOJOM_SHARED_H_