| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |