Index: components/autofill/core/browser/autofill_experiments.cc |
diff --git a/components/autofill/core/browser/autofill_experiments.cc b/components/autofill/core/browser/autofill_experiments.cc |
index 28fdc27bff258eef2287595c7c983c2ddb3651ce..4c2070cac1ef2f9d2eb34bb52f1f0a4d4bd3565e 100644 |
--- a/components/autofill/core/browser/autofill_experiments.cc |
+++ b/components/autofill/core/browser/autofill_experiments.cc |
@@ -16,7 +16,6 @@ |
#include "components/autofill/core/common/autofill_pref_names.h" |
#include "components/autofill/core/common/autofill_switches.h" |
#include "components/prefs/pref_service.h" |
-#include "components/security_state/core/switches.h" |
#include "components/sync/driver/sync_service.h" |
#include "components/variations/variations_associated_data.h" |
#include "google_apis/gaia/gaia_auth_util.h" |
@@ -228,12 +227,4 @@ bool IsCreditCardUploadEnabled(const PrefService* pref_service, |
return !group_name.empty() && group_name != "Disabled"; |
} |
-bool IsCreditCardAutofillHttpWarningEnabled() { |
- std::string choice = |
- base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
- security_state::switches::kMarkHttpAs); |
- return choice == security_state::switches:: |
- kMarkHttpWithPasswordsOrCcWithChipAndFormWarning; |
-} |
- |
} // namespace autofill |