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

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

Issue 2711543002: Experiment to add bank name in autofill ui. (Closed)
Patch Set: Don't show bank name if bank name is empty even though feature flag on Created 3 years, 10 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 2170 matching lines...) Expand 10 before | Expand all | Expand 10 after
2181 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, 2181 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT,
2182 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, 2182 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION,
2183 kOsAndroid, FEATURE_WITH_VARIATIONS_VALUE_TYPE( 2183 kOsAndroid, FEATURE_WITH_VARIATIONS_VALUE_TYPE(
2184 autofill::kAutofillCreditCardPopupLayout, 2184 autofill::kAutofillCreditCardPopupLayout,
2185 kAutofillCreditCardPopupLayoutFeatureVariations, 2185 kAutofillCreditCardPopupLayoutFeatureVariations,
2186 "AutofillCreditCardPopupLayout")}, 2186 "AutofillCreditCardPopupLayout")},
2187 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER, 2187 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER,
2188 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid, 2188 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid,
2189 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, 2189 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)},
2190 #endif // OS_ANDROID 2190 #endif // OS_ANDROID
2191
2191 {"enable-autofill-credit-card-last-used-date-display", 2192 {"enable-autofill-credit-card-last-used-date-display",
2192 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY, 2193 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY,
2193 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY_DESCRIPTION, 2194 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY_DESCRIPTION,
2194 kOsAll, FEATURE_WITH_VARIATIONS_VALUE_TYPE( 2195 kOsAll, FEATURE_WITH_VARIATIONS_VALUE_TYPE(
2195 autofill::kAutofillCreditCardLastUsedDateDisplay, 2196 autofill::kAutofillCreditCardLastUsedDateDisplay,
2196 kAutofillCreditCardLastUsedDateFeatureVariations, 2197 kAutofillCreditCardLastUsedDateFeatureVariations,
2197 "AutofillCreditCardLastUsedDate")}, 2198 "AutofillCreditCardLastUsedDate")},
2199
2200 {"enable-autofill-credit-card-bank-name-display",
2201 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_BANK_NAME_DISPLAY,
2202 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_BANK_NAME_DISPLAY_DESCRIPTION,
2203 kOsAll, FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardBankNameDisplay)},
2204
2198 #if defined(OS_WIN) 2205 #if defined(OS_WIN)
2199 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME, 2206 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME,
2200 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin, 2207 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin,
2201 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, 2208 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)},
2202 #endif // OS_WIN 2209 #endif // OS_WIN
2203 2210
2204 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME, 2211 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME,
2205 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll, 2212 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll,
2206 FEATURE_VALUE_TYPE(features::kFasterLocationReload)}, 2213 FEATURE_VALUE_TYPE(features::kFasterLocationReload)},
2207 #if defined(OS_ANDROID) 2214 #if defined(OS_ANDROID)
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
2463 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2470 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2464 2471
2465 const FeatureEntry* GetFeatureEntries(size_t* count) { 2472 const FeatureEntry* GetFeatureEntries(size_t* count) {
2466 *count = arraysize(kFeatureEntries); 2473 *count = arraysize(kFeatureEntries);
2467 return kFeatureEntries; 2474 return kFeatureEntries;
2468 } 2475 }
2469 2476
2470 } // namespace testing 2477 } // namespace testing
2471 2478
2472 } // namespace about_flags 2479 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698