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 "android_webview/native/aw_autofill_client.h" | 5 #include "android_webview/native/aw_autofill_client.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
8 #include "android_webview/browser/aw_content_browser_client.h" | 8 #include "android_webview/browser/aw_content_browser_client.h" |
9 #include "android_webview/browser/aw_form_database_service.h" | 9 #include "android_webview/browser/aw_form_database_service.h" |
10 #include "android_webview/browser/aw_pref_store.h" | 10 #include "android_webview/browser/aw_pref_store.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 } | 226 } |
227 | 227 |
228 void AwAutofillClient::ConfirmSaveCreditCardLocally( | 228 void AwAutofillClient::ConfirmSaveCreditCardLocally( |
229 const autofill::CreditCard& card, | 229 const autofill::CreditCard& card, |
230 const base::Closure& callback) { | 230 const base::Closure& callback) { |
231 NOTIMPLEMENTED(); | 231 NOTIMPLEMENTED(); |
232 } | 232 } |
233 | 233 |
234 void AwAutofillClient::ConfirmSaveCreditCardToCloud( | 234 void AwAutofillClient::ConfirmSaveCreditCardToCloud( |
235 const autofill::CreditCard& card, | 235 const autofill::CreditCard& card, |
236 scoped_ptr<base::DictionaryValue> legal_message, | 236 std::unique_ptr<base::DictionaryValue> legal_message, |
237 const base::Closure& callback) { | 237 const base::Closure& callback) { |
238 NOTIMPLEMENTED(); | 238 NOTIMPLEMENTED(); |
239 } | 239 } |
240 | 240 |
241 void AwAutofillClient::LoadRiskData( | 241 void AwAutofillClient::LoadRiskData( |
242 const base::Callback<void(const std::string&)>& callback) { | 242 const base::Callback<void(const std::string&)>& callback) { |
243 NOTIMPLEMENTED(); | 243 NOTIMPLEMENTED(); |
244 } | 244 } |
245 | 245 |
246 bool AwAutofillClient::HasCreditCardScanFeature() { | 246 bool AwAutofillClient::HasCreditCardScanFeature() { |
247 return false; | 247 return false; |
248 } | 248 } |
249 | 249 |
250 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { | 250 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { |
251 NOTIMPLEMENTED(); | 251 NOTIMPLEMENTED(); |
252 } | 252 } |
253 | 253 |
254 void AwAutofillClient::ShowRequestAutocompleteDialog( | 254 void AwAutofillClient::ShowRequestAutocompleteDialog( |
255 const autofill::FormData& form, | 255 const autofill::FormData& form, |
256 content::RenderFrameHost* rfh, | 256 content::RenderFrameHost* rfh, |
257 const ResultCallback& callback) { | 257 const ResultCallback& callback) { |
258 NOTIMPLEMENTED(); | 258 NOTIMPLEMENTED(); |
259 } | 259 } |
260 | 260 |
261 bool RegisterAwAutofillClient(JNIEnv* env) { | 261 bool RegisterAwAutofillClient(JNIEnv* env) { |
262 return RegisterNativesImpl(env); | 262 return RegisterNativesImpl(env); |
263 } | 263 } |
264 | 264 |
265 } // namespace android_webview | 265 } // namespace android_webview |
OLD | NEW |