Move remaining Autofill code to //components/autofill.

This leaves behind all browser tests, the AutofillCCInfobarDelegate
and PersonalDataManagerFactory, which remain Chrome-specific.

All source files were moved using //tools/git/move_source_file.py,
which updates includes of moved files, sorts include order, and
updates header guards.

The only manual bits of this change were:
- Move .proto file
- Move .cc.utf8 file
- Update .gypi files
- Update DEPS files
- Remove an unnecessary include from autofill_manager.cc

[email protected]
BUG=140037


Review URL: https://chromiumcodereview.appspot.com/12434004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187173 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/components/autofill/browser/validation.h b/components/autofill/browser/validation.h
new file mode 100644
index 0000000..3f6ce9a8
--- /dev/null
+++ b/components/autofill/browser/validation.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_AUTOFILL_BROWSER_VALIDATION_H_
+#define COMPONENTS_AUTOFILL_BROWSER_VALIDATION_H_
+
+#include "base/string16.h"
+
+namespace autofill {
+
+// Returns true if |text| looks like a valid credit card number.
+// Uses the Luhn formula to validate the number.
+bool IsValidCreditCardNumber(const string16& text);
+
+// Returns true if |text| looks like a valid credit card security code.
+bool IsValidCreditCardSecurityCode(const string16& text);
+
+// Returns true if |text| looks like a valid e-mail address.
+bool IsValidEmailAddress(const string16& text);
+
+// Returns true if |text| looks like a valid zip code.
+// Valid for US zip codes only.
+bool IsValidZip(const string16& text);
+
+}  // namespace autofill
+
+#endif  // COMPONENTS_AUTOFILL_BROWSER_VALIDATION_H_