OLD | NEW |
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/payments/chrome_payment_request_delegate.h" | 5 #include "chrome/browser/payments/chrome_payment_request_delegate.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
10 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 10 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 ChromePaymentRequestDelegate::GetRegionDataLoader() { | 177 ChromePaymentRequestDelegate::GetRegionDataLoader() { |
178 return new RegionDataLoaderImpl( | 178 return new RegionDataLoaderImpl( |
179 GetPersonalDataManager()->GetURLRequestContextGetter(), | 179 GetPersonalDataManager()->GetURLRequestContextGetter(), |
180 GetApplicationLocale()); | 180 GetApplicationLocale()); |
181 } | 181 } |
182 | 182 |
183 AddressNormalizer* ChromePaymentRequestDelegate::GetAddressNormalizer() { | 183 AddressNormalizer* ChromePaymentRequestDelegate::GetAddressNormalizer() { |
184 return &address_normalizer_; | 184 return &address_normalizer_; |
185 } | 185 } |
186 | 186 |
| 187 ukm::UkmService* ChromePaymentRequestDelegate::GetUkmService() { |
| 188 return g_browser_process->ukm_service(); |
| 189 } |
| 190 |
187 } // namespace payments | 191 } // namespace payments |
OLD | NEW |