OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/feature_list.h" | 13 #include "base/feature_list.h" |
14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
15 #include "base/metrics/sparse_histogram.h" | 15 #include "base/metrics/sparse_histogram.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
20 #include "base/values.h" | 20 #include "base/values.h" |
21 #include "cc/base/switches.h" | 21 #include "cc/base/switches.h" |
22 #include "chrome/common/channel_info.h" | 22 #include "chrome/common/channel_info.h" |
23 #include "chrome/common/chrome_content_client.h" | 23 #include "chrome/common/chrome_content_client.h" |
24 #include "chrome/common/chrome_switches.h" | 24 #include "chrome/common/chrome_switches.h" |
25 #include "chrome/grit/chromium_strings.h" | 25 #include "chrome/grit/chromium_strings.h" |
26 #include "chrome/grit/generated_resources.h" | 26 #include "chrome/grit/generated_resources.h" |
27 #include "chrome/grit/google_chrome_strings.h" | 27 #include "chrome/grit/google_chrome_strings.h" |
28 #include "components/autofill/core/common/autofill_switches.h" | 28 #include "components/autofill/core/common/autofill_switches.h" |
| 29 #include "components/browser_sync/common/browser_sync_switches.h" |
29 #include "components/cloud_devices/common/cloud_devices_switches.h" | 30 #include "components/cloud_devices/common/cloud_devices_switches.h" |
30 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" | 31 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" |
31 #include "components/dom_distiller/core/dom_distiller_switches.h" | 32 #include "components/dom_distiller/core/dom_distiller_switches.h" |
32 #include "components/enhanced_bookmarks/enhanced_bookmark_switches.h" | 33 #include "components/enhanced_bookmarks/enhanced_bookmark_switches.h" |
33 #include "components/flags_ui/flags_storage.h" | 34 #include "components/flags_ui/flags_storage.h" |
34 #include "components/metrics/metrics_hashes.h" | 35 #include "components/metrics/metrics_hashes.h" |
35 #include "components/nacl/common/nacl_switches.h" | 36 #include "components/nacl/common/nacl_switches.h" |
36 #include "components/offline_pages/offline_page_switches.h" | 37 #include "components/offline_pages/offline_page_switches.h" |
37 #include "components/omnibox/browser/omnibox_switches.h" | 38 #include "components/omnibox/browser/omnibox_switches.h" |
38 #include "components/password_manager/core/common/password_manager_switches.h" | 39 #include "components/password_manager/core/common/password_manager_switches.h" |
(...skipping 2938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2977 FlagsState::GetInstance()->SetFeatureEntries(entries, count); | 2978 FlagsState::GetInstance()->SetFeatureEntries(entries, count); |
2978 } | 2979 } |
2979 | 2980 |
2980 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2981 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2981 return FlagsState::GetInstance()->GetFeatureEntries(count); | 2982 return FlagsState::GetInstance()->GetFeatureEntries(count); |
2982 } | 2983 } |
2983 | 2984 |
2984 } // namespace testing | 2985 } // namespace testing |
2985 | 2986 |
2986 } // namespace about_flags | 2987 } // namespace about_flags |
OLD | NEW |