Index: components/autofill/content/renderer/form_autofill_util.cc |
diff --git a/components/autofill/content/renderer/form_autofill_util.cc b/components/autofill/content/renderer/form_autofill_util.cc |
index 42b340e779688bcb7c8022ea201e592fe3ea0672..98767483f65487188fdcd5f3d865d0b5e74ab115 100644 |
--- a/components/autofill/content/renderer/form_autofill_util.cc |
+++ b/components/autofill/content/renderer/form_autofill_util.cc |
@@ -12,6 +12,7 @@ |
#include "base/metrics/field_trial.h" |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "components/autofill/core/common/autofill_data_validation.h" |
#include "components/autofill/core/common/autofill_switches.h" |
#include "components/autofill/core/common/form_data.h" |
#include "components/autofill/core/common/form_field_data.h" |
@@ -51,9 +52,6 @@ using blink::WebVector; |
namespace autofill { |
namespace { |
-// The maximum length allowed for form data. |
-const size_t kMaxDataLength = 1024; |
- |
// A bit field mask for FillForm functions to not fill some fields. |
enum FieldFilterMask { |
FILTER_NONE = 0, |