chromium/out/Default/gen/services/network/public/mojom/http_cache_backend_file_operations.mojom-shared.h

// services/network/public/mojom/http_cache_backend_file_operations.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 SERVICES_NETWORK_PUBLIC_MOJOM_HTTP_CACHE_BACKEND_FILE_OPERATIONS_MOJOM_SHARED_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_HTTP_CACHE_BACKEND_FILE_OPERATIONS_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 "services/network/public/mojom/http_cache_backend_file_operations.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file.mojom-shared.h"
#include "mojo/public/mojom/base/file_error.mojom-shared.h"
#include "mojo/public/mojom/base/file_info.mojom-shared.h"
#include "mojo/public/mojom/base/file_path.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 network::mojom {
class FileEnumerationEntryDataView;



}  // network::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::network::mojom::FileEnumerationEntryDataView> {};

}  // namespace internal
}  // namespace mojo


namespace network::mojom {


enum class HttpCacheBackendOpenFileFlags : int32_t {};

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


enum class HttpCacheBackendDeleteFileMode : int32_t {};

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

FileEnumeratorPtrDataView;
FileEnumeratorRequestDataView;
FileEnumeratorAssociatedPtrInfoDataView;
FileEnumeratorAssociatedRequestDataView;
class HttpCacheBackendFileOperationsInterfaceBase {};

HttpCacheBackendFileOperationsPtrDataView;
HttpCacheBackendFileOperationsRequestDataView;
HttpCacheBackendFileOperationsAssociatedPtrInfoDataView;
HttpCacheBackendFileOperationsAssociatedRequestDataView;
class HttpCacheBackendFileOperationsFactoryInterfaceBase {};

HttpCacheBackendFileOperationsFactoryPtrDataView;
HttpCacheBackendFileOperationsFactoryRequestDataView;
HttpCacheBackendFileOperationsFactoryAssociatedPtrInfoDataView;
HttpCacheBackendFileOperationsFactoryAssociatedRequestDataView;


class FileEnumerationEntryDataView {};


}  // network::mojom

namespace std {

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

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

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::network::mojom::HttpCacheBackendOpenFileFlags, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::HttpCacheBackendDeleteFileMode, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::network::mojom::FileEnumerationEntryDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace network::mojom {

inline void FileEnumerationEntryDataView::GetPathDataView(
    ::mojo_base::mojom::FilePathDataView* output) {}
inline void FileEnumerationEntryDataView::GetLastAccessedDataView(
    ::mojo_base::mojom::TimeDataView* output) {}
inline void FileEnumerationEntryDataView::GetLastModifiedDataView(
    ::mojo_base::mojom::TimeDataView* output) {}



}  // network::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::HttpCacheBackendOpenFileFlags> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::network::mojom::HttpCacheBackendDeleteFileMode> {};

} // namespace perfetto

#endif  // SERVICES_NETWORK_PUBLIC_MOJOM_HTTP_CACHE_BACKEND_FILE_OPERATIONS_MOJOM_SHARED_H_