Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: android_webview/native/aw_autofill_client.cc

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: components/autofill review. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 const autofill::CreditCard& card, 215 const autofill::CreditCard& card,
216 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) { 216 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) {
217 NOTIMPLEMENTED(); 217 NOTIMPLEMENTED();
218 } 218 }
219 219
220 void AwAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) { 220 void AwAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) {
221 NOTIMPLEMENTED(); 221 NOTIMPLEMENTED();
222 } 222 }
223 223
224 void AwAutofillClient::ConfirmSaveCreditCardLocally( 224 void AwAutofillClient::ConfirmSaveCreditCardLocally(
225 const autofill::CreditCard& card,
225 const base::Closure& callback) { 226 const base::Closure& callback) {
226 NOTIMPLEMENTED(); 227 NOTIMPLEMENTED();
227 } 228 }
228 229
229 void AwAutofillClient::ConfirmSaveCreditCardToCloud( 230 void AwAutofillClient::ConfirmSaveCreditCardToCloud(
230 const base::Closure& callback, 231 const autofill::CreditCard& card,
231 scoped_ptr<base::DictionaryValue> legal_message) { 232 scoped_ptr<base::DictionaryValue> legal_message,
233 const base::Closure& callback) {
232 NOTIMPLEMENTED(); 234 NOTIMPLEMENTED();
233 } 235 }
234 236
235 void AwAutofillClient::LoadRiskData( 237 void AwAutofillClient::LoadRiskData(
236 const base::Callback<void(const std::string&)>& callback) { 238 const base::Callback<void(const std::string&)>& callback) {
237 NOTIMPLEMENTED(); 239 NOTIMPLEMENTED();
238 } 240 }
239 241
240 bool AwAutofillClient::HasCreditCardScanFeature() { 242 bool AwAutofillClient::HasCreditCardScanFeature() {
241 return false; 243 return false;
242 } 244 }
243 245
244 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { 246 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) {
245 NOTIMPLEMENTED(); 247 NOTIMPLEMENTED();
246 } 248 }
247 249
248 void AwAutofillClient::ShowRequestAutocompleteDialog( 250 void AwAutofillClient::ShowRequestAutocompleteDialog(
249 const autofill::FormData& form, 251 const autofill::FormData& form,
250 content::RenderFrameHost* rfh, 252 content::RenderFrameHost* rfh,
251 const ResultCallback& callback) { 253 const ResultCallback& callback) {
252 NOTIMPLEMENTED(); 254 NOTIMPLEMENTED();
253 } 255 }
254 256
255 bool RegisterAwAutofillClient(JNIEnv* env) { 257 bool RegisterAwAutofillClient(JNIEnv* env) {
256 return RegisterNativesImpl(env); 258 return RegisterNativesImpl(env);
257 } 259 }
258 260
259 } // namespace android_webview 261 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698