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

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

Issue 8355025: Fix an Autofill crash caused by accessing the g_browser_process on the DB thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more tests? Created 9 years, 2 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
« no previous file with comments | « chrome/browser/autofill/autofill_country.cc ('k') | chrome/browser/autofill/phone_number.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/phone_number.h
diff --git a/chrome/browser/autofill/phone_number.h b/chrome/browser/autofill/phone_number.h
index 7b6f876fef25d1c6a26b587aae08c464bf9d777c..c9afd3aac68384ae9e4b9fae5a776b77d9f533d9 100644
--- a/chrome/browser/autofill/phone_number.h
+++ b/chrome/browser/autofill/phone_number.h
@@ -67,8 +67,6 @@ class PhoneNumber : public FormGroup {
};
private:
- FRIEND_TEST_ALL_PREFIXES(PhoneNumberTest, Matcher);
-
// FormGroup:
virtual void GetSupportedTypes(FieldTypeSet* supported_types) const OVERRIDE;
@@ -76,7 +74,7 @@ class PhoneNumber : public FormGroup {
bool NormalizePhone();
// Returns the locale for this phone number, based on the |profile_|.
- std::string locale() const;
+ std::string GetLocale() const;
// Updates the cached parsed number if the profile's locale has changed
// since the last time the cache was updated.
« no previous file with comments | « chrome/browser/autofill/autofill_country.cc ('k') | chrome/browser/autofill/phone_number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698