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

Unified Diff: third_party/libaddressinput/chromium/chrome_address_validator.h

Issue 2338283003: [Payments] Normalize addresses before passing them to merchants. (Closed)
Patch Set: Created 4 years, 3 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: third_party/libaddressinput/chromium/chrome_address_validator.h
diff --git a/third_party/libaddressinput/chromium/chrome_address_validator.h b/third_party/libaddressinput/chromium/chrome_address_validator.h
index de5b39b71ef64fa2275c50d8d0028059443ab05f..f2ffd1f06a203dc7923f1323ce0f7ce04d2fb8cd 100644
--- a/third_party/libaddressinput/chromium/chrome_address_validator.h
+++ b/third_party/libaddressinput/chromium/chrome_address_validator.h
@@ -135,10 +135,10 @@ class AddressValidator {
size_t suggestion_limit,
std::vector< ::i18n::addressinput::AddressData>* suggestions) const;
- // Canonicalizes the administrative area in |address_data|. For example,
- // "texas" changes to "TX". Returns true on success, otherwise leaves
+ // Normalizwes the administrative area and the locality in |address_data|. For
please use gerrit instead 2016/09/16 22:30:42 s/the administrative area and the locality in/the/
sebsg 2016/09/22 19:50:41 Done.
+ // example, "texas" changes to "TX". Returns true on success, otherwise leaves
// |address_data| alone and returns false.
- virtual bool CanonicalizeAdministrativeArea(
+ virtual bool NormalizeAddress(
::i18n::addressinput::AddressData* address) const;
protected:

Powered by Google App Engine
This is Rietveld 408576698