Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 962673004: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporates Evan's review comments. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 }, 1253 },
1254 { 1254 {
1255 "enable-suggestions-service", 1255 "enable-suggestions-service",
1256 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, 1256 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME,
1257 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, 1257 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION,
1258 kOsAndroid | kOsCrOS, 1258 kOsAndroid | kOsCrOS,
1259 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, 1259 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService,
1260 switches::kDisableSuggestionsService) 1260 switches::kDisableSuggestionsService)
1261 }, 1261 },
1262 { 1262 {
1263 "enable-suggestions-with-substring-match",
1264 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME,
1265 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION,
1266 kOsAll,
1267 SINGLE_VALUE_TYPE(
1268 autofill::switches::kEnableSuggestionsWithSubstringMatch)
1269 },
1270 {
1263 "enable-supervised-user-managed-bookmarks-folder", 1271 "enable-supervised-user-managed-bookmarks-folder",
1264 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, 1272 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME,
1265 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, 1273 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION,
1266 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, 1274 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS,
1267 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder) 1275 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)
1268 }, 1276 },
1269 #if defined(ENABLE_APP_LIST) 1277 #if defined(ENABLE_APP_LIST)
1270 { 1278 {
1271 "enable-sync-app-list", 1279 "enable-sync-app-list",
1272 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, 1280 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME,
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
3009 } 3017 }
3010 3018
3011 const Experiment* GetExperiments(size_t* count) { 3019 const Experiment* GetExperiments(size_t* count) {
3012 *count = num_experiments; 3020 *count = num_experiments;
3013 return experiments; 3021 return experiments;
3014 } 3022 }
3015 3023
3016 } // namespace testing 3024 } // namespace testing
3017 3025
3018 } // namespace about_flags 3026 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698