1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PREFS_PREF_NAME_SET_H_
6 #define COMPONENTS_PREFS_PREF_NAME_SET_H_
12 // String set that allows transparent lookup by string-comparable types like
13 // `base::StringPiece` without requiring conversion to `std::string`.
14 using PrefNameSet = std::set<std::string, std::less<>>;
16 #endif // COMPONENTS_PREFS_PREF_NAME_SET_H_