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

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: Remove unused include 2 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..c9c1da0d5c2d041d563c822793bf0f90bf4640a1 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -20,8 +20,6 @@
#include "base/guid.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
-#include "base/metrics/field_trial.h"
-#include "base/metrics/histogram_macros.h"
#include "base/path_service.h"
#include "base/strings/string16.h"
#include "base/strings/string_number_conversions.h"
@@ -252,12 +250,6 @@ bool AutofillManager::ShouldShowScanCreditCard(const FormData& form,
return false;
}
- if (base::FieldTrialList::FindFullName("CreditCardScan") == "Control" &&
- !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