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> |
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1155 {"enable-navigation-tracing", | 1155 {"enable-navigation-tracing", |
1156 IDS_FLAGS_ENABLE_NAVIGATION_TRACING, | 1156 IDS_FLAGS_ENABLE_NAVIGATION_TRACING, |
1157 IDS_FLAGS_ENABLE_NAVIGATION_TRACING_DESCRIPTION, | 1157 IDS_FLAGS_ENABLE_NAVIGATION_TRACING_DESCRIPTION, |
1158 kOsAll, | 1158 kOsAll, |
1159 SINGLE_VALUE_TYPE(switches::kEnableNavigationTracing)}, | 1159 SINGLE_VALUE_TYPE(switches::kEnableNavigationTracing)}, |
1160 {"trace-upload-url", | 1160 {"trace-upload-url", |
1161 IDS_FLAGS_TRACE_UPLOAD_URL, | 1161 IDS_FLAGS_TRACE_UPLOAD_URL, |
1162 IDS_FLAGS_TRACE_UPLOAD_URL_DESCRIPTION, | 1162 IDS_FLAGS_TRACE_UPLOAD_URL_DESCRIPTION, |
1163 kOsAll, | 1163 kOsAll, |
1164 MULTI_VALUE_TYPE(kTraceUploadURL)}, | 1164 MULTI_VALUE_TYPE(kTraceUploadURL)}, |
1165 {"enable-suggestions-service", | |
1166 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, | |
1167 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, | |
1168 kOsAndroid | kOsCrOS, | |
1169 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, | |
1170 switches::kDisableSuggestionsService)}, | |
1171 {"enable-suggestions-with-substring-match", | 1165 {"enable-suggestions-with-substring-match", |
1172 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, | 1166 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, |
1173 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, | 1167 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, |
1174 kOsAll, | 1168 kOsAll, |
1175 SINGLE_VALUE_TYPE( | 1169 SINGLE_VALUE_TYPE( |
1176 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, | 1170 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, |
1177 {"enable-supervised-user-managed-bookmarks-folder", | 1171 {"enable-supervised-user-managed-bookmarks-folder", |
1178 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, | 1172 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, |
1179 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, | 1173 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, |
1180 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, | 1174 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, |
(...skipping 1619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2800 FlagsState::GetInstance()->SetFeatureEntries(entries, count); | 2794 FlagsState::GetInstance()->SetFeatureEntries(entries, count); |
2801 } | 2795 } |
2802 | 2796 |
2803 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2797 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2804 return FlagsState::GetInstance()->GetFeatureEntries(count); | 2798 return FlagsState::GetInstance()->GetFeatureEntries(count); |
2805 } | 2799 } |
2806 | 2800 |
2807 } // namespace testing | 2801 } // namespace testing |
2808 | 2802 |
2809 } // namespace about_flags | 2803 } // namespace about_flags |
OLD | NEW |