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

Side by Side Diff: chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc

Issue 2829503002: [Payments] Normalize Shipping Address sent to merchant on Desktop. (Closed)
Patch Set: Be more strict on country code 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate. h" 5 #include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate. h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
(...skipping 27 matching lines...) Expand all
38 } 38 }
39 39
40 bool TestChromePaymentRequestDelegate::IsIncognito() const { 40 bool TestChromePaymentRequestDelegate::IsIncognito() const {
41 return is_incognito_; 41 return is_incognito_;
42 } 42 }
43 43
44 bool TestChromePaymentRequestDelegate::IsSslCertificateValid() { 44 bool TestChromePaymentRequestDelegate::IsSslCertificateValid() {
45 return is_valid_ssl_; 45 return is_valid_ssl_;
46 } 46 }
47 47
48 std::unique_ptr<const ::i18n::addressinput::Source> 48 std::unique_ptr<::i18n::addressinput::Source>
49 TestChromePaymentRequestDelegate::GetAddressInputSource() { 49 TestChromePaymentRequestDelegate::GetAddressInputSource() {
50 if (address_input_provider_) 50 if (address_input_provider_)
51 return address_input_provider_->GetAddressInputSource(); 51 return address_input_provider_->GetAddressInputSource();
52 return ChromePaymentRequestDelegate::GetAddressInputSource(); 52 return ChromePaymentRequestDelegate::GetAddressInputSource();
53 } 53 }
54 54
55 std::unique_ptr<::i18n::addressinput::Storage> 55 std::unique_ptr<::i18n::addressinput::Storage>
56 TestChromePaymentRequestDelegate::GetAddressInputStorage() { 56 TestChromePaymentRequestDelegate::GetAddressInputStorage() {
57 if (address_input_provider_) 57 if (address_input_provider_)
58 return address_input_provider_->GetAddressInputStorage(); 58 return address_input_provider_->GetAddressInputStorage();
59 return ChromePaymentRequestDelegate::GetAddressInputStorage(); 59 return ChromePaymentRequestDelegate::GetAddressInputStorage();
60 } 60 }
61 61
62 } // namespace payments 62 } // namespace payments
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.h ('k') | components/autofill/core/browser/address.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698