Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
index 59cf761cb0ecd367bc86661e9f895ecac8970ea4..fd011519bee7d0af88a26b35d30a7d6ccd0ce81f 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
@@ -38,7 +38,6 @@ |
#include "components/autofill/browser/risk/fingerprint.h" |
#include "components/autofill/browser/risk/proto/fingerprint.pb.h" |
#include "components/autofill/browser/validation.h" |
-#include "components/autofill/browser/wallet/cart.h" |
#include "components/autofill/browser/wallet/full_wallet.h" |
#include "components/autofill/browser/wallet/instrument.h" |
#include "components/autofill/browser/wallet/wallet_address.h" |
@@ -72,15 +71,6 @@ namespace { |
const bool kPayWithoutWalletDefault = false; |
-// This is a pseudo-scientifically chosen maximum amount we want a fronting |
-// (proxy) card to be able to charge. The current actual max is $2000. Using |
-// only $1850 leaves some room for tax and shipping, etc. TODO(dbeam): send a |
-// special value to the server to just ask for the maximum so we don't need to |
-// hardcode it here (http://crbug.com/180731). TODO(dbeam): also maybe allow |
-// users to give us this number via an <input> (http://crbug.com/180733). |
-const int kCartMax = 1850; |
-const char kCartCurrency[] = "USD"; |
- |
const char kAddNewItemKey[] = "add-new-item"; |
const char kManageItemsKey[] = "manage-items"; |
const char kSameAsBillingKey[] = "same-as-billing"; |
@@ -1549,7 +1539,6 @@ void AutofillDialogControllerImpl::OnDidGetWalletItems( |
legal_documents_text_.clear(); |
legal_document_link_ranges_.clear(); |
- // TODO(dbeam): verify items support kCartCurrency? http://crbug.com/232952 |
wallet_items_ = wallet_items.Pass(); |
OnWalletOrSigninUpdate(); |
} |
@@ -2262,7 +2251,6 @@ void AutofillDialogControllerImpl::GetFullWallet() { |
active_instrument_id_, |
active_address_id_, |
source_url_, |
- wallet::Cart(base::IntToString(kCartMax), kCartCurrency), |
wallet_items_->google_transaction_id(), |
capabilities)); |
} |