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

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

Issue 6930037: Autofill DOMUI Prefs should work with i18n phone numbers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding DEPS. Created 9 years, 8 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
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_

Powered by Google App Engine
This is Rietveld 408576698