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

Side by Side Diff: components/autofill/core/browser/test_autofill_client.cc

Issue 2740633002: [Autofill] Add upstreaming UKM (Closed)
Patch Set: Fixed comments Created 3 years, 9 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
« no previous file with comments | « components/autofill/core/browser/test_autofill_client.h ('k') | components/ukm/ukm_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/autofill/core/browser/test_autofill_client.h" 5 #include "components/autofill/core/browser/test_autofill_client.h"
6 6
7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
8 8
9 namespace autofill { 9 namespace autofill {
10 10
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 IdentityProvider* TestAutofillClient::GetIdentityProvider() { 36 IdentityProvider* TestAutofillClient::GetIdentityProvider() {
37 return identity_provider_.get(); 37 return identity_provider_.get();
38 } 38 }
39 39
40 rappor::RapporServiceImpl* TestAutofillClient::GetRapporServiceImpl() { 40 rappor::RapporServiceImpl* TestAutofillClient::GetRapporServiceImpl() {
41 return rappor_service_.get(); 41 return rappor_service_.get();
42 } 42 }
43 43
44 ukm::UkmService* TestAutofillClient::GetUkmService() {
45 return ukm_service_test_harness_.test_ukm_service();
46 }
47
44 void TestAutofillClient::ShowAutofillSettings() { 48 void TestAutofillClient::ShowAutofillSettings() {
45 } 49 }
46 50
47 void TestAutofillClient::ShowUnmaskPrompt( 51 void TestAutofillClient::ShowUnmaskPrompt(
48 const CreditCard& card, 52 const CreditCard& card,
49 UnmaskCardReason reason, 53 UnmaskCardReason reason,
50 base::WeakPtr<CardUnmaskDelegate> delegate) { 54 base::WeakPtr<CardUnmaskDelegate> delegate) {
51 } 55 }
52 56
53 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) { 57 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 127
124 bool TestAutofillClient::ShouldShowSigninPromo() { 128 bool TestAutofillClient::ShouldShowSigninPromo() {
125 return false; 129 return false;
126 } 130 }
127 131
128 void TestAutofillClient::StartSigninFlow() {} 132 void TestAutofillClient::StartSigninFlow() {}
129 133
130 void TestAutofillClient::ShowHttpNotSecureExplanation() {} 134 void TestAutofillClient::ShowHttpNotSecureExplanation() {}
131 135
132 } // namespace autofill 136 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/test_autofill_client.h ('k') | components/ukm/ukm_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698