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

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

Issue 1939183003: Enable credit card scanning by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 77ae77e4f6f293cf2a9abf4b5f6318e778e40fa7..5840cba41bb081ab34a93db3f49a919e9b3d2815 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -252,12 +252,6 @@ bool AutofillManager::ShouldShowScanCreditCard(const FormData& form,
return false;
}
- if (base::FieldTrialList::FindFullName("CreditCardScan") == "Control" &&
Mathieu 2016/05/02 19:44:59 nit: do we still need to import base/metrics/..?
please use gerrit instead 2016/05/02 21:29:02 No longer needed.
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableCreditCardScan)) {
- return false;
- }
-
if (!client_->HasCreditCardScanFeature())
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698