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

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: Just code rebase. Created 5 years, 6 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 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, 1099 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME,
1100 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, 1100 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION,
1101 kOsAll, 1101 kOsAll,
1102 SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate)}, 1102 SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate)},
1103 {"enable-suggestions-service", 1103 {"enable-suggestions-service",
1104 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, 1104 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME,
1105 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, 1105 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION,
1106 kOsAndroid | kOsCrOS, 1106 kOsAndroid | kOsCrOS,
1107 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, 1107 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService,
1108 switches::kDisableSuggestionsService)}, 1108 switches::kDisableSuggestionsService)},
1109 {"enable-suggestions-with-substring-match",
1110 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME,
1111 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION,
1112 kOsAll,
1113 SINGLE_VALUE_TYPE(
1114 autofill::switches::kEnableSuggestionsWithSubstringMatch)},
1109 {"enable-supervised-user-managed-bookmarks-folder", 1115 {"enable-supervised-user-managed-bookmarks-folder",
1110 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, 1116 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME,
1111 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, 1117 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION,
1112 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, 1118 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS,
1113 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, 1119 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)},
1114 #if defined(ENABLE_APP_LIST) 1120 #if defined(ENABLE_APP_LIST)
1115 {"enable-sync-app-list", 1121 {"enable-sync-app-list",
1116 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, 1122 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME,
1117 IDS_FLAGS_ENABLE_SYNC_APP_LIST_DESCRIPTION, 1123 IDS_FLAGS_ENABLE_SYNC_APP_LIST_DESCRIPTION,
1118 kOsDesktop, 1124 kOsDesktop,
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after
2641 } 2647 }
2642 2648
2643 const Experiment* GetExperiments(size_t* count) { 2649 const Experiment* GetExperiments(size_t* count) {
2644 *count = num_experiments; 2650 *count = num_experiments;
2645 return experiments; 2651 return experiments;
2646 } 2652 }
2647 2653
2648 } // namespace testing 2654 } // namespace testing
2649 2655
2650 } // namespace about_flags 2656 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698