OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #import "ios/chrome/browser/ui/autofill/autofill_client_ios.h" | 5 #import "ios/chrome/browser/ui/autofill/autofill_client_ios.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 void AutofillClientIOS::ConfirmSaveCreditCardToCloud( | 103 void AutofillClientIOS::ConfirmSaveCreditCardToCloud( |
104 const CreditCard& card, | 104 const CreditCard& card, |
105 std::unique_ptr<base::DictionaryValue> legal_message, | 105 std::unique_ptr<base::DictionaryValue> legal_message, |
106 const base::Closure& callback) { | 106 const base::Closure& callback) { |
107 infobar_manager_->AddInfoBar(CreateSaveCardInfoBarMobile( | 107 infobar_manager_->AddInfoBar(CreateSaveCardInfoBarMobile( |
108 base::WrapUnique(new AutofillSaveCardInfoBarDelegateMobile( | 108 base::WrapUnique(new AutofillSaveCardInfoBarDelegateMobile( |
109 true, card, std::move(legal_message), callback)))); | 109 true, card, std::move(legal_message), callback)))); |
110 } | 110 } |
111 | 111 |
| 112 void AutofillClientIOS::ConfirmCreditCardFillAssist( |
| 113 const CreditCard& card, |
| 114 const base::Closure& callback) { |
| 115 NOTREACHED(); |
| 116 } |
| 117 |
112 void AutofillClientIOS::LoadRiskData( | 118 void AutofillClientIOS::LoadRiskData( |
113 const base::Callback<void(const std::string&)>& callback) { | 119 const base::Callback<void(const std::string&)>& callback) { |
114 callback.Run(ios::GetChromeBrowserProvider()->GetRiskData()); | 120 callback.Run(ios::GetChromeBrowserProvider()->GetRiskData()); |
115 } | 121 } |
116 | 122 |
117 bool AutofillClientIOS::HasCreditCardScanFeature() { | 123 bool AutofillClientIOS::HasCreditCardScanFeature() { |
118 return false; | 124 return false; |
119 } | 125 } |
120 | 126 |
121 void AutofillClientIOS::ScanCreditCard(const CreditCardScanCallback& callback) { | 127 void AutofillClientIOS::ScanCreditCard(const CreditCardScanCallback& callback) { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 183 |
178 bool AutofillClientIOS::ShouldShowSigninPromo() { | 184 bool AutofillClientIOS::ShouldShowSigninPromo() { |
179 return false; | 185 return false; |
180 } | 186 } |
181 | 187 |
182 void AutofillClientIOS::StartSigninFlow() { | 188 void AutofillClientIOS::StartSigninFlow() { |
183 NOTIMPLEMENTED(); | 189 NOTIMPLEMENTED(); |
184 } | 190 } |
185 | 191 |
186 } // namespace autofill | 192 } // namespace autofill |
OLD | NEW |