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

Unified Diff: components/autofill/core/browser/autofill_assistant.cc

Issue 2212063002: [Autofill] Implement Autofill Assistant infobar for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: card details 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_assistant.cc
diff --git a/components/autofill/core/browser/autofill_assistant.cc b/components/autofill/core/browser/autofill_assistant.cc
index c74776f99ffc8235952f31cd27c0831c6c84c952..53286faf5544945fe51a11f15a1c471a54cef354 100644
--- a/components/autofill/core/browser/autofill_assistant.cc
+++ b/components/autofill/core/browser/autofill_assistant.cc
@@ -27,7 +27,7 @@ void AutofillAssistant::Reset() {
bool AutofillAssistant::CanShowCreditCardAssist(
const std::vector<FormStructure*>& form_structures) {
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
Justin Donnelly 2016/08/05 14:45:19 Can this be moved inside IsAutofillCreditCardAssis
Mathieu 2016/08/05 16:57:04 Sure, done
return false;
#else
if (!IsAutofillCreditCardAssistEnabled() || credit_card_form_data_)

Powered by Google App Engine
This is Rietveld 408576698