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

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

Issue 2200333002: Remove flags for controlling credit card scanner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/autofill/core/common/autofill_switches.h » ('j') | 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 1eddaf56a271eecb2dcc4b95b4059054c51b8c10..b05ee3170a4202f84075a43c45cf8da9926ed418 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -257,11 +257,6 @@ void AutofillManager::ShowAutofillSettings() {
bool AutofillManager::ShouldShowScanCreditCard(const FormData& form,
const FormFieldData& field) {
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
Mathieu 2016/08/02 20:45:34 do you need to remove autofill_switches.h?
please use gerrit instead 2016/08/02 22:52:21 Done.
- switches::kDisableCreditCardScan)) {
- return false;
- }
-
if (!client_->HasCreditCardScanFeature())
return false;
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/autofill/core/common/autofill_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698