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

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: 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..3a0d4c8cf2f9bc415669028178c3fd1db3299d82 100644
--- a/chrome/browser/autofill/autofill_country.h
+++ b/chrome/browser/autofill/autofill_country.h
@@ -37,6 +37,9 @@ class AutofillCountry {
// Returns the application locale.
static const std::string ApplicationLocale();
+ // Returns true if |value| is a valid country.
+ static bool IsValidCountry(const string16& value);
Ilya Sherman 2011/03/16 04:58:57 I would prefer not to add this method, as the impl
dhollowa 2011/03/16 16:13:35 Done.
+
const std::string country_code() const { return country_code_; }
const string16 name() const { return name_; }
const string16 postal_code_label() const { return postal_code_label_; }
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_country.cc » ('j') | chrome/browser/autofill/autofill_country.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698