Index: chrome/browser/payments/chrome_payment_request_delegate.h |
diff --git a/chrome/browser/payments/chrome_payment_request_delegate.h b/chrome/browser/payments/chrome_payment_request_delegate.h |
index 89950c294967a95662ba6415a3697b2a4c8bea00..69a9a2bbac899007e362dd1d82cc396f51e2490a 100644 |
--- a/chrome/browser/payments/chrome_payment_request_delegate.h |
+++ b/chrome/browser/payments/chrome_payment_request_delegate.h |
@@ -9,7 +9,6 @@ |
#include <string> |
#include "base/macros.h" |
-#include "components/payments/core/address_normalizer.h" |
#include "components/payments/core/payment_request_delegate.h" |
namespace content { |
@@ -23,7 +22,7 @@ |
class ChromePaymentRequestDelegate : public PaymentRequestDelegate { |
public: |
explicit ChromePaymentRequestDelegate(content::WebContents* web_contents); |
- ~ChromePaymentRequestDelegate() override; |
+ ~ChromePaymentRequestDelegate() override {} |
// PaymentRequestDelegate: |
void ShowDialog(PaymentRequest* request) override; |
@@ -38,11 +37,10 @@ |
const autofill::CreditCard& credit_card, |
base::WeakPtr<autofill::payments::FullCardRequest::ResultDelegate> |
result_delegate) override; |
- std::unique_ptr<::i18n::addressinput::Source> GetAddressInputSource() |
+ std::unique_ptr<const ::i18n::addressinput::Source> GetAddressInputSource() |
override; |
std::unique_ptr<::i18n::addressinput::Storage> GetAddressInputStorage() |
override; |
- AddressNormalizer* GetAddressNormalizer() override; |
protected: |
// Reference to the dialog so that we can satisfy calls to CloseDialog(). This |
@@ -54,9 +52,6 @@ |
// Not owned but outlives the PaymentRequest object that owns this. |
content::WebContents* web_contents_; |
- // The address normalizer to use for the duration of the Payment Request. |
- AddressNormalizer address_normalizer_; |
- |
DISALLOW_COPY_AND_ASSIGN(ChromePaymentRequestDelegate); |
}; |