[iOS] Add utility to convert autofill::CreditCard value to Objective-C types
commit2930bdae273895cc4ec6e09a1fec5a2bbef6aafa
authorsdefresne <sdefresne@chromium.org>
Fri, 29 May 2015 11:01:04 +0000 (29 04:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 29 May 2015 11:01:28 +0000 (29 11:01 +0000)
treebb576dc7c4a956c3c8bfed6567fedcee24e8587f
parent4857ff75aa89b68c585b2d187ee3c446d3f129a1
[iOS] Add utility to convert autofill::CreditCard value to Objective-C types

Add utility methods in components/autofill/ios/browser to allow extraction of
CreditCard features and conversion to Objective-C types (NSDateComponents and
NSString).

BUG=437508

Review URL: https://codereview.chromium.org/1156473003

Cr-Commit-Position: refs/heads/master@{#331941}
components/autofill.gypi
components/autofill/ios/browser/credit_card_util.h [new file with mode: 0644]
components/autofill/ios/browser/credit_card_util.mm [new file with mode: 0644]