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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) { | 56 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) { |
57 } | 57 } |
58 | 58 |
59 void TestAutofillClient::ConfirmSaveCreditCardLocally( | 59 void TestAutofillClient::ConfirmSaveCreditCardLocally( |
60 const CreditCard& card, | 60 const CreditCard& card, |
61 const base::Closure& callback) { | 61 const base::Closure& callback) { |
62 } | 62 } |
63 | 63 |
64 void TestAutofillClient::ConfirmSaveCreditCardToCloud( | 64 void TestAutofillClient::ConfirmSaveCreditCardToCloud( |
65 const CreditCard& card, | 65 const CreditCard& card, |
66 scoped_ptr<base::DictionaryValue> legal_message, | 66 std::unique_ptr<base::DictionaryValue> legal_message, |
67 const base::Closure& callback) { | 67 const base::Closure& callback) { |
68 callback.Run(); | 68 callback.Run(); |
69 } | 69 } |
70 | 70 |
71 void TestAutofillClient::LoadRiskData( | 71 void TestAutofillClient::LoadRiskData( |
72 const base::Callback<void(const std::string&)>& callback) { | 72 const base::Callback<void(const std::string&)>& callback) { |
73 callback.Run("some risk data"); | 73 callback.Run("some risk data"); |
74 } | 74 } |
75 | 75 |
76 bool TestAutofillClient::HasCreditCardScanFeature() { | 76 bool TestAutofillClient::HasCreditCardScanFeature() { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 117 } |
118 | 118 |
119 void TestAutofillClient::OnFirstUserGestureObserved() { | 119 void TestAutofillClient::OnFirstUserGestureObserved() { |
120 } | 120 } |
121 | 121 |
122 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) { | 122 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) { |
123 return is_context_secure_; | 123 return is_context_secure_; |
124 } | 124 } |
125 | 125 |
126 } // namespace autofill | 126 } // namespace autofill |
OLD | NEW |