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

Unified Diff: components/autofill/core/browser/credit_card.h

Issue 1080883002: Remove some more bad ASCII-centric autofill code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 5 years, 8 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: components/autofill/core/browser/credit_card.h
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
index b25ec8c2d2fa728ba6067b4d72c6555bf4a4ac96..3ef40b9c557a13676a961c92549418fed7cefd4e 100644
--- a/components/autofill/core/browser/credit_card.h
+++ b/components/autofill/core/browser/credit_card.h
@@ -172,6 +172,10 @@ class CreditCard : public AutofillDataModel {
// Sets |number_| to |number| and computes the appropriate card |type_|.
void SetNumber(const base::string16& number);
+ static bool ConvertMonth(const base::string16& month,
Lei Zhang 2015/04/11 02:44:17 The behavior is a bit quirky. Document? Esp. handl
Evan Stade 2015/04/13 18:13:43 Done.
+ const std::string& app_locale,
+ int* num);
+
private:
// FormGroup:
void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override;

Powered by Google App Engine
This is Rietveld 408576698