blob: 443df4a51278b0cea117131f5408425c8336a543 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PREFS_PREF_NAME_SET_H_
#define COMPONENTS_PREFS_PREF_NAME_SET_H_
#include <functional>
#include <set>
#include <string>
#include <string_view>
// String set that allows transparent lookup by string-comparable types like
// `std::string_view` without requiring conversion to `std::string`.
using PrefNameSet = std::set<std::string, std::less<>>;
#endif // COMPONENTS_PREFS_PREF_NAME_SET_H_