| 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_
|
|
|