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

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

Issue 2607043002: [Autofill] Credit Card Autofill Last Used Date Experiment (Closed)
Patch Set: Show expiration date if keyboard accessory is enabled Created 3 years, 11 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 2114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2125 #endif // defined(OS_CHROMEOS) 2125 #endif // defined(OS_CHROMEOS)
2126 2126
2127 #if defined(OS_ANDROID) 2127 #if defined(OS_ANDROID)
2128 {"enable-expanded-autofill-credit-card-popup", 2128 {"enable-expanded-autofill-credit-card-popup",
2129 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, 2129 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT,
2130 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, 2130 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION,
2131 kOsAndroid, FEATURE_WITH_VARIATIONS_VALUE_TYPE( 2131 kOsAndroid, FEATURE_WITH_VARIATIONS_VALUE_TYPE(
2132 autofill::kAutofillCreditCardPopupLayout, 2132 autofill::kAutofillCreditCardPopupLayout,
2133 kAutofillCreditCardPopupLayoutFeatureVariations, 2133 kAutofillCreditCardPopupLayoutFeatureVariations,
2134 "AutofillCreditCardPopupLayout")}, 2134 "AutofillCreditCardPopupLayout")},
2135 {"enable-autofill-credit-card-last-used-date-display",
2136 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY,
2137 IDS_FLAGS_ENABLE_AUTOFILL_CREDIT_CARD_LAST_USED_DATE_DISPLAY_DESCRIPTION,
2138 kOsAndroid, FEATURE_VALUE_TYPE(
2139 autofill::kAutofillCreditCardLastUsedDateDisplay)},
2135 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER, 2140 {"native-android-history-manager", IDS_NATIVE_ANDROID_HISTORY_MANAGER,
2136 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid, 2141 IDS_NATIVE_ANDROID_HISTORY_MANAGER_DESCRIPTION, kOsAndroid,
2137 FEATURE_VALUE_TYPE(chrome::android::kNativeAndroidHistoryManager)}, 2142 FEATURE_VALUE_TYPE(chrome::android::kNativeAndroidHistoryManager)},
2138 #endif // OS_ANDROID 2143 #endif // OS_ANDROID
2139 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME, 2144 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME,
2140 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll, 2145 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll,
2141 FEATURE_VALUE_TYPE(features::kFasterLocationReload)} 2146 FEATURE_VALUE_TYPE(features::kFasterLocationReload)}
2142 2147
2143 // NOTE: Adding new command-line switches requires adding corresponding 2148 // NOTE: Adding new command-line switches requires adding corresponding
2144 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2149 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
2341 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2346 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2342 2347
2343 const FeatureEntry* GetFeatureEntries(size_t* count) { 2348 const FeatureEntry* GetFeatureEntries(size_t* count) {
2344 *count = arraysize(kFeatureEntries); 2349 *count = arraysize(kFeatureEntries);
2345 return kFeatureEntries; 2350 return kFeatureEntries;
2346 } 2351 }
2347 2352
2348 } // namespace testing 2353 } // namespace testing
2349 2354
2350 } // namespace about_flags 2355 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698