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

Unified Diff: chrome/browser/payments/chrome_payment_request_delegate.h

Issue 2832003003: Revert of [Payments] Normalize Shipping Address sent to merchant on Desktop. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/payments/chrome_payment_request_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | chrome/browser/payments/chrome_payment_request_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698