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

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: 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 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 }, 1291 },
1292 { 1292 {
1293 "enable-suggestions-service", 1293 "enable-suggestions-service",
1294 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, 1294 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME,
1295 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, 1295 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION,
1296 kOsAndroid | kOsCrOS, 1296 kOsAndroid | kOsCrOS,
1297 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, 1297 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService,
1298 switches::kDisableSuggestionsService) 1298 switches::kDisableSuggestionsService)
1299 }, 1299 },
1300 { 1300 {
1301 "enable-suggestions-with-substring-match",
1302 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME,
1303 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION,
1304 kOsAll,
1305 SINGLE_VALUE_TYPE(
1306 autofill::switches::kEnableSuggestionsWithSubstringMatch)
1307 },
1308 {
1301 "enable-supervised-user-managed-bookmarks-folder", 1309 "enable-supervised-user-managed-bookmarks-folder",
1302 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, 1310 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME,
1303 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, 1311 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION,
1304 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, 1312 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS,
1305 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder) 1313 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)
1306 }, 1314 },
1307 #if defined(ENABLE_APP_LIST) 1315 #if defined(ENABLE_APP_LIST)
1308 { 1316 {
1309 "enable-sync-app-list", 1317 "enable-sync-app-list",
1310 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, 1318 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME,
(...skipping 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after
3057 } 3065 }
3058 3066
3059 const Experiment* GetExperiments(size_t* count) { 3067 const Experiment* GetExperiments(size_t* count) {
3060 *count = num_experiments; 3068 *count = num_experiments;
3061 return experiments; 3069 return experiments;
3062 } 3070 }
3063 3071
3064 } // namespace testing 3072 } // namespace testing
3065 3073
3066 } // namespace about_flags 3074 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698