diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-05 23:02:05 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-05 23:02:05 +0000 |
commit | 4aeaa6e9af5be492338e409c253a3f08ae1ee038 (patch) | |
tree | 8ea9f6d68d755c8757a720ba147af1961e4e3b4e /chrome/browser/autofill/phone_number_i18n.h | |
parent | 041433ccb1d965071ef59e324f5e3123c2d0dbe0 (diff) | |
download | chromium_src-4aeaa6e9af5be492338e409c253a3f08ae1ee038.zip chromium_src-4aeaa6e9af5be492338e409c253a3f08ae1ee038.tar.gz chromium_src-4aeaa6e9af5be492338e409c253a3f08ae1ee038.tar.bz2 |
Revert 84320 - Autofill DOMUI Prefs should work with i18n phone numbers
Adds validation to the phone and fax lists in WebUI based prefs for Autofill. Also adds the start of phone_number_i18n.cc/h module.
BUG=80101
TEST=PhoneNumberI18NTest.PhoneNumbersMatch
Review URL: http://codereview.chromium.org/6930037
TBR=dhollowa@chromium.org
Review URL: http://codereview.chromium.org/6930052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/phone_number_i18n.h')
-rw-r--r-- | chrome/browser/autofill/phone_number_i18n.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/chrome/browser/autofill/phone_number_i18n.h b/chrome/browser/autofill/phone_number_i18n.h deleted file mode 100644 index 28b4c42..0000000 --- a/chrome/browser/autofill/phone_number_i18n.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2011 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_PHONE_NUMBER_I18N_H_ -#define CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_I18N_H_ -#pragma once - -#include <string> - -#include "base/string16.h" - -namespace autofill_i18n { - -bool PhoneNumbersMatch(const string16& number_a, - const string16& number_b, - const std::string& country_code); - -} // namespace autofill_i18n - -#endif // CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_I18N_H_ |