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

Side by Side Diff: chrome/browser/payments/chrome_payment_request_delegate.cc

Issue 2851893002: [Payments] Record CanMakePayment metrics on Desktop. (Closed)
Patch Set: Windows Fix and Rebase Fix Created 3 years, 7 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/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698