blob: c508c2f904c132244ad42293f001d71aa4f2d93c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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>
// String set that allows transparent lookup by string-comparable types like
// `base::StringPiece` without requiring conversion to `std::string`.
using PrefNameSet = std::set<std::string, std::less<>>;
#endif // COMPONENTS_PREFS_PREF_NAME_SET_H_
|