Chromium Code Reviews| Index: chrome/browser/autofill/phone_number_i18n.h |
| diff --git a/chrome/browser/autofill/phone_number_i18n.h b/chrome/browser/autofill/phone_number_i18n.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..28b4c429508932916c2031be5a54871d74ca46ad |
| --- /dev/null |
| +++ b/chrome/browser/autofill/phone_number_i18n.h |
| @@ -0,0 +1,21 @@ |
| +// 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); |
|
GeorgeY
2011/05/05 18:24:25
In my utils I have
enum PhoneMatch {
PHONES_NOT
dhollowa
2011/05/05 18:31:01
Do you make use of "PHONES_SUBMATCH" ? If so, for
dhollowa
2011/05/05 19:27:05
Let's generalize this once we know we need it. I'
|
| + |
| +} // namespace autofill_i18n |
| + |
| +#endif // CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_I18N_H_ |