| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const base::Closure& callback) { | 59 const base::Closure& callback) { |
| 60 } | 60 } |
| 61 | 61 |
| 62 void TestAutofillClient::ConfirmSaveCreditCardToCloud( | 62 void TestAutofillClient::ConfirmSaveCreditCardToCloud( |
| 63 const CreditCard& card, | 63 const CreditCard& card, |
| 64 std::unique_ptr<base::DictionaryValue> legal_message, | 64 std::unique_ptr<base::DictionaryValue> legal_message, |
| 65 const base::Closure& callback) { | 65 const base::Closure& callback) { |
| 66 callback.Run(); | 66 callback.Run(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 void TestAutofillClient::ConfirmCreditCardFillAssist( |
| 70 const CreditCard& card, |
| 71 const base::Closure& callback) { |
| 72 callback.Run(); |
| 73 } |
| 74 |
| 69 void TestAutofillClient::LoadRiskData( | 75 void TestAutofillClient::LoadRiskData( |
| 70 const base::Callback<void(const std::string&)>& callback) { | 76 const base::Callback<void(const std::string&)>& callback) { |
| 71 callback.Run("some risk data"); | 77 callback.Run("some risk data"); |
| 72 } | 78 } |
| 73 | 79 |
| 74 bool TestAutofillClient::HasCreditCardScanFeature() { | 80 bool TestAutofillClient::HasCreditCardScanFeature() { |
| 75 return false; | 81 return false; |
| 76 } | 82 } |
| 77 | 83 |
| 78 void TestAutofillClient::ScanCreditCard( | 84 void TestAutofillClient::ScanCreditCard( |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 return is_context_secure_; | 121 return is_context_secure_; |
| 116 } | 122 } |
| 117 | 123 |
| 118 bool TestAutofillClient::ShouldShowSigninPromo() { | 124 bool TestAutofillClient::ShouldShowSigninPromo() { |
| 119 return false; | 125 return false; |
| 120 } | 126 } |
| 121 | 127 |
| 122 void TestAutofillClient::StartSigninFlow() {} | 128 void TestAutofillClient::StartSigninFlow() {} |
| 123 | 129 |
| 124 } // namespace autofill | 130 } // namespace autofill |
| OLD | NEW |