chromium/ui/base/metadata/metadata_utils.h

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

#ifndef UI_BASE_METADATA_METADATA_UTILS_H_
#define UI_BASE_METADATA_METADATA_UTILS_H_

#include <type_traits>

#include "build/build_config.h"
#include "build/buildflag.h"
#include "ui/base/metadata/metadata_types.h"

namespace ui::metadata {

kHasClassMetadata;
kHasClassMetadata;

#define CHECK_CLASS_HAS_METADATA(class_type)

template <typename V, typename B>
bool IsClass(const B* instance) {}

template <typename V, typename B>
V* AsClass(B* instance) {}

template <typename V, typename B>
const V* AsClass(const B* instance) {}

}  // namespace ui::metadata

#endif  // UI_BASE_METADATA_METADATA_UTILS_H_