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

Unified Diff: chrome/browser/autofill/autofill_regex_constants.cc.utf8

Issue 8052024: Autofill: Ignore gift cards when filling credit card info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
« no previous file with comments | « chrome/browser/autofill/autofill_regex_constants.h ('k') | chrome/browser/autofill/credit_card_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_regex_constants.cc.utf8
diff --git a/chrome/browser/autofill/autofill_regex_constants.cc.utf8 b/chrome/browser/autofill/autofill_regex_constants.cc.utf8
index b01e6e3462788e8a4c0c353165b0d0c4615c3888..1bbaef336024a5c20c7b1a9a94bdf71bd3c4f9b5 100644
--- a/chrome/browser/autofill/autofill_regex_constants.cc.utf8
+++ b/chrome/browser/autofill/autofill_regex_constants.cc.utf8
@@ -159,7 +159,7 @@ const char kCardCvcRe[] =
// https://rps.fidelity.com/ftgw/rps/RtlCust/CreatePIN/Init.
// Instead, we match only words beginning with "month".
const char kExpirationMonthRe[] =
- "expir|exp.*mo|exp.*date|ccmonth"
+ "expir|exp.*mo|exp.*date|ccmonth|cardmonth"
"|gueltig|gültig|monat" // de-DE
"|fecha" // es
"|date.*exp" // fr-FR
@@ -193,6 +193,8 @@ const char kExpirationDateRe[] =
"|Срок действия карты"; // ru
const char kCardIgnoredRe[] =
"^card";
+const char kGiftCardRe[] =
+ "gift.?card";
/////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « chrome/browser/autofill/autofill_regex_constants.h ('k') | chrome/browser/autofill/credit_card_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698