Fix emulator build error
[platform/framework/web/chromium-efl.git] / components / prefs / pref_name_set.h
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.
4
5 #ifndef COMPONENTS_PREFS_PREF_NAME_SET_H_
6 #define COMPONENTS_PREFS_PREF_NAME_SET_H_
7
8 #include <functional>
9 #include <set>
10 #include <string>
11
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<>>;
15
16 #endif  // COMPONENTS_PREFS_PREF_NAME_SET_H_