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

Unified Diff: chrome/browser/about_flags.cc

Issue 2437593007: [Payments] Field trial and flag to abort payment request if no card. (Closed)
Patch Set: Addressed comments Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index bfa6859e3b281212f3082582aa6129e56a255e71..f0a18ec1a03e2b26305be7db7e547367819802cb 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2072,6 +2072,11 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_ENABLE_DEFAULT_MEDIA_SESSION_DESCRIPTION, kOsDesktop,
MULTI_VALUE_TYPE(kEnableDefaultMediaSessionChoices)},
#endif // !defined(OS_ANDROID)
+#if defined(OS_ANDROID)
+ {"no-card-abort", IDS_FLAGS_NO_CARD_ABORT,
+ IDS_FLAGS_NO_CARD_ABORT_DESCRIPTION, kOsAndroid,
+ FEATURE_VALUE_TYPE(chrome::android::kNoCreditCardAbort)},
+#endif // OS_ANDROID
please use gerrit instead 2016/10/21 19:00:20 btw, you can reuse the OS_ANDROID block above
sebsg 2016/10/25 15:13:09 Done.
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.

Powered by Google App Engine
This is Rietveld 408576698