| Index: components/autofill/content/browser/wallet/full_wallet.h
|
| diff --git a/components/autofill/content/browser/wallet/full_wallet.h b/components/autofill/content/browser/wallet/full_wallet.h
|
| index b97d67093687eae55638f1c7ea3cfae230a752a2..e5cb3f9adbab6f6139a49fc8c5edeaa854c50ffd 100644
|
| --- a/components/autofill/content/browser/wallet/full_wallet.h
|
| +++ b/components/autofill/content/browser/wallet/full_wallet.h
|
| @@ -38,6 +38,16 @@ class FullWallet {
|
| static scoped_ptr<FullWallet>
|
| CreateFullWallet(const base::DictionaryValue& dictionary);
|
|
|
| + // Returns a wallet built from the provided clear-text data.
|
| + // Data is not validated; |pan|, |cvn| and |billing_address| must be set.
|
| + static scoped_ptr<FullWallet>
|
| + CreateFullWalletFromClearText(int expiration_month,
|
| + int expiration_year,
|
| + const std::string& pan,
|
| + const std::string& cvn,
|
| + scoped_ptr<Address> billing_address,
|
| + scoped_ptr<Address> shipping_address);
|
| +
|
| // Returns corresponding data for |type|.
|
| base::string16 GetInfo(AutofillFieldType type);
|
|
|
| @@ -77,6 +87,7 @@ class FullWallet {
|
| FRIEND_TEST_ALL_PREFIXES(FullWalletTest, RestLengthCorrectDecryptionTest);
|
| FRIEND_TEST_ALL_PREFIXES(FullWalletTest, RestLengthUnderDecryptionTest);
|
| FRIEND_TEST_ALL_PREFIXES(FullWalletTest, GetCreditCardInfo);
|
| +
|
| FullWallet(int expiration_month,
|
| int expiration_year,
|
| const std::string& iin,
|
|
|