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

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

Issue 2711543002: Experiment to add bank name in autofill ui. (Closed)
Patch Set: Add comments about the flag Created 3 years, 9 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 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after
2216 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, 2216 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION,
2217 kOsAndroid, 2217 kOsAndroid,
2218 FEATURE_WITH_VARIATIONS_VALUE_TYPE( 2218 FEATURE_WITH_VARIATIONS_VALUE_TYPE(
2219 autofill::kAutofillCreditCardPopupLayout, 2219 autofill::kAutofillCreditCardPopupLayout,
2220 kAutofillCreditCardPopupLayoutFeatureVariations, 2220 kAutofillCreditCardPopupLayoutFeatureVariations,
2221 "AutofillCreditCardPopupLayout")}, 2221 "AutofillCreditCardPopupLayout")},
2222 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER, 2222 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER,
2223 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid, 2223 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid,
2224 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, 2224 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)},
2225 #endif // OS_ANDROID 2225 #endif // OS_ANDROID
2226
2226 {"enable-autofill-credit-card-last-used-date-display", 2227 {"enable-autofill-credit-card-last-used-date-display",
2227 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY, 2228 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY,
2228 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY_DESCRIPTION, 2229 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY_DESCRIPTION,
2229 kOsAll, 2230 kOsAll,
2230 FEATURE_WITH_VARIATIONS_VALUE_TYPE( 2231 FEATURE_WITH_VARIATIONS_VALUE_TYPE(
2231 autofill::kAutofillCreditCardLastUsedDateDisplay, 2232 autofill::kAutofillCreditCardLastUsedDateDisplay,
2232 kAutofillCreditCardLastUsedDateFeatureVariations, 2233 kAutofillCreditCardLastUsedDateFeatureVariations,
2233 "AutofillCreditCardLastUsedDate")}, 2234 "AutofillCreditCardLastUsedDate")},
2235
2236 {"enable-autofill-credit-card-bank-name-display",
2237 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_BANK_NAME_DISPLAY,
2238 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_BANK_NAME_DISPLAY_DESCRIPTION,
2239 kOsAll, FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardBankNameDisplay)},
2240
2234 #if defined(OS_WIN) 2241 #if defined(OS_WIN)
2235 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME, 2242 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME,
2236 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin, 2243 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin,
2237 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, 2244 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)},
2238 #endif // OS_WIN 2245 #endif // OS_WIN
2239 2246
2240 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME, 2247 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME,
2241 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll, 2248 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll,
2242 FEATURE_VALUE_TYPE(features::kFasterLocationReload)}, 2249 FEATURE_VALUE_TYPE(features::kFasterLocationReload)},
2243 #if defined(OS_ANDROID) 2250 #if defined(OS_ANDROID)
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
2529 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2536 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2530 2537
2531 const FeatureEntry* GetFeatureEntries(size_t* count) { 2538 const FeatureEntry* GetFeatureEntries(size_t* count) {
2532 *count = arraysize(kFeatureEntries); 2539 *count = arraysize(kFeatureEntries);
2533 return kFeatureEntries; 2540 return kFeatureEntries;
2534 } 2541 }
2535 2542
2536 } // namespace testing 2543 } // namespace testing
2537 2544
2538 } // namespace about_flags 2545 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698