OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/flags_ui/flags_state.h" | 5 #include "components/flags_ui/flags_state.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/feature_list.h" | 8 #include "base/feature_list.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
10 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
11 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
12 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
13 #include "base/values.h" | 14 #include "base/values.h" |
14 #include "build/build_config.h" | 15 #include "build/build_config.h" |
15 #include "components/flags_ui/feature_entry.h" | 16 #include "components/flags_ui/feature_entry.h" |
16 #include "components/flags_ui/flags_storage.h" | 17 #include "components/flags_ui/flags_storage.h" |
17 #include "components/flags_ui/flags_ui_switches.h" | 18 #include "components/flags_ui/flags_ui_switches.h" |
18 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
19 | 20 |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 } | 631 } |
631 | 632 |
632 std::set<std::string> new_enabled_entries = | 633 std::set<std::string> new_enabled_entries = |
633 base::STLSetIntersection<std::set<std::string>>(platform_entries, | 634 base::STLSetIntersection<std::set<std::string>>(platform_entries, |
634 *result); | 635 *result); |
635 | 636 |
636 result->swap(new_enabled_entries); | 637 result->swap(new_enabled_entries); |
637 } | 638 } |
638 | 639 |
639 } // namespace flags_ui | 640 } // namespace flags_ui |
OLD | NEW |