Chromium Code Reviews| 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; |