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

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: fix ifdef 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..982dd0591716353cf0a97e28c10aa2e7c2c85d75 100644
--- a/components/autofill/core/browser/autofill_assistant.cc
+++ b/components/autofill/core/browser/autofill_assistant.cc
@@ -27,9 +27,6 @@ void AutofillAssistant::Reset() {
bool AutofillAssistant::CanShowCreditCardAssist(
const std::vector<FormStructure*>& form_structures) {
-#if !defined(OS_ANDROID)
- return false;
-#else
if (!IsAutofillCreditCardAssistEnabled() || credit_card_form_data_)
return false;
@@ -40,7 +37,6 @@ bool AutofillAssistant::CanShowCreditCardAssist(
}
}
return !!credit_card_form_data_;
-#endif
}
void AutofillAssistant::ShowAssistForCreditCard(const CreditCard& card) {

Powered by Google App Engine
This is Rietveld 408576698