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

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

Issue 13488009: Remove application locale cache in autofill code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 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: components/autofill/browser/phone_number_i18n.h
===================================================================
--- components/autofill/browser/phone_number_i18n.h (revision 192613)
+++ components/autofill/browser/phone_number_i18n.h (working copy)
@@ -59,12 +59,14 @@
// the given |region|.
bool PhoneNumbersMatch(const string16& number_a,
const string16& number_b,
- const std::string& region);
+ const std::string& region,
+ const std::string& app_locale);
// The cached phone number, does parsing only once, improves performance.
class PhoneObject {
public:
- PhoneObject(const string16& number, const std::string& region);
+ PhoneObject(const string16& number,
+ const std::string& region);
PhoneObject(const PhoneObject&);
PhoneObject();
~PhoneObject();
« no previous file with comments | « components/autofill/browser/personal_data_manager_unittest.cc ('k') | components/autofill/browser/phone_number_i18n.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698