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

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

Issue 6676031: Autofill database migration to clean up bogus profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to Lingesh's observer mechanism. Created 9 years, 9 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/autofill_country.h
diff --git a/chrome/browser/autofill/autofill_country.h b/chrome/browser/autofill/autofill_country.h
index eb56d129404d0974e2498769880d0908cc43299f..a99f68bf6af1bf85302d7610efb0cf5e1090a7f3 100644
--- a/chrome/browser/autofill/autofill_country.h
+++ b/chrome/browser/autofill/autofill_country.h
@@ -30,7 +30,8 @@ class AutofillCountry {
static const std::string CountryCodeForLocale(const std::string& locale);
// Returns the country code corresponding to |country|, which should be a
- // country code or country name localized to |locale|.
+ // country code or country name localized to |locale|. This function can
+ // be expensive so use judiciously.
static const std::string GetCountryCode(const string16& country,
const std::string& locale);
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_profile.cc » ('j') | chrome/browser/autofill/autofill_profile.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698