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

Side by Side Diff: ios/chrome/browser/ui/autofill/autofill_client_ios.mm

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaning Created 4 years, 4 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 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
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
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
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698