#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) { … }
}
#endif