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

Unified Diff: components/autofill/browser/wallet/full_wallet.h

Issue 12815002: requestAutocomplete: Fill |form_structure_| from Online Wallet data (including (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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/browser/wallet/full_wallet.h
diff --git a/components/autofill/browser/wallet/full_wallet.h b/components/autofill/browser/wallet/full_wallet.h
index c6f2ab50f20f2eadf40d13f1fee853da6b262241..e5b06c2e184d2547cd63534efa5978f9664d05b4 100644
--- a/components/autofill/browser/wallet/full_wallet.h
+++ b/components/autofill/browser/wallet/full_wallet.h
@@ -45,6 +45,9 @@ class FullWallet {
// one time pad, |one_time_pad_|.
const std::string& GetCvn();
+ // Returns corresponding data for |type|.
+ string16 GetInfo(AutofillFieldType type);
+
// Whether or not |action| is in |required_actions_|.
bool HasRequiredAction(RequiredAction action) const;
@@ -79,6 +82,8 @@ class FullWallet {
scoped_ptr<Address> billing_address,
scoped_ptr<Address> shipping_address,
const std::vector<RequiredAction>& required_actions);
+
+ // Decrypts both |pan_| and |cvn_|.
void DecryptCardInfo();
// The expiration month of the proxy card. It should be 1-12.

Powered by Google App Engine
This is Rietveld 408576698