summaryrefslogtreecommitdiffstats
path: root/components/autofill/browser/wallet/wallet_client.cc
diff options
context:
space:
mode:
authorahutter@chromium.org <ahutter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 05:53:55 +0000
committerahutter@chromium.org <ahutter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 05:53:55 +0000
commit61a5a81d54b382fc8a244d98c2b5857cc1eeec4d (patch)
treef98fbe0d983034e369fe7a0cccf2ff73e366d40e /components/autofill/browser/wallet/wallet_client.cc
parente8dad9bc446a8a1f51fe9cba4c3dda7e8297379f (diff)
downloadchromium_src-61a5a81d54b382fc8a244d98c2b5857cc1eeec4d.zip
chromium_src-61a5a81d54b382fc8a244d98c2b5857cc1eeec4d.tar.gz
chromium_src-61a5a81d54b382fc8a244d98c2b5857cc1eeec4d.tar.bz2
Carts are deprecated by the latest version of the server
BUG= 240333 Review URL: https://chromiumcodereview.appspot.com/14836006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill/browser/wallet/wallet_client.cc')
-rw-r--r--components/autofill/browser/wallet/wallet_client.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/autofill/browser/wallet/wallet_client.cc b/components/autofill/browser/wallet/wallet_client.cc
index d1c0f34..f8cd755 100644
--- a/components/autofill/browser/wallet/wallet_client.cc
+++ b/components/autofill/browser/wallet/wallet_client.cc
@@ -178,7 +178,6 @@ AutofillMetrics::WalletRequiredActionMetric RequiredActionToUmaMetric(
const char kAcceptedLegalDocumentKey[] = "accepted_legal_document";
const char kApiKeyKey[] = "api_key";
const char kAuthResultKey[] = "auth_result";
-const char kCartKey[] = "cart";
const char kEncryptedOtpKey[] = "encrypted_otp";
const char kErrorTypeKey[] = "wallet_error.error_type";
const char kFeatureKey[] = "feature";
@@ -209,13 +208,11 @@ WalletClient::FullWalletRequest::FullWalletRequest(
const std::string& instrument_id,
const std::string& address_id,
const GURL& source_url,
- const Cart& cart,
const std::string& google_transaction_id,
const std::vector<RiskCapability> risk_capabilities)
: instrument_id(instrument_id),
address_id(address_id),
source_url(source_url),
- cart(cart),
google_transaction_id(google_transaction_id),
risk_capabilities(risk_capabilities) {}
@@ -306,8 +303,6 @@ void WalletClient::GetFullWallet(const FullWalletRequest& full_wallet_request) {
full_wallet_request.source_url.GetWithEmptyPath().spec());
pending_request_body_.SetString(kGoogleTransactionIdKey,
full_wallet_request.google_transaction_id);
- pending_request_body_.Set(kCartKey,
- full_wallet_request.cart.ToDictionary().release());
pending_request_body_.SetString(
kFeatureKey,
DialogTypeToFeatureString(delegate_->GetDialogType()));