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

Unified Diff: chrome/browser/autofill/validation.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 | « chrome/browser/autofill/test_autofill_manager_delegate.cc ('k') | chrome/browser/autofill/validation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/validation.h
diff --git a/chrome/browser/autofill/validation.h b/chrome/browser/autofill/validation.h
deleted file mode 100644
index 96a3bd8f565712903a188af35bd986dae00eb6d8..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/validation.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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 CHROME_BROWSER_AUTOFILL_VALIDATION_H_
-#define CHROME_BROWSER_AUTOFILL_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 // CHROME_BROWSER_AUTOFILL_VALIDATION_H_
« no previous file with comments | « chrome/browser/autofill/test_autofill_manager_delegate.cc ('k') | chrome/browser/autofill/validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698