#ifndef UI_GFX_EXTENSION_SET_H_
#define UI_GFX_EXTENSION_SET_H_
#include <string_view>
#include "base/containers/flat_set.h"
#include "ui/gfx/gfx_export.h"
namespace gfx {
ExtensionSet;
GFX_EXPORT ExtensionSet MakeExtensionSet(std::string_view extensions_string);
GFX_EXPORT bool HasExtension(const ExtensionSet& extension_set,
std::string_view extension);
template <size_t N>
inline bool HasExtension(const ExtensionSet& extension_set,
const char (&extension)[N]) { … }
GFX_EXPORT std::string MakeExtensionString(const ExtensionSet& extension_set);
}
#endif