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

Unified Diff: components/payments/address_normalizer.cc

Issue 2680143002: Use dropdown list for admin areas in pr form. (Closed)
Patch Set: Touch ups Created 3 years, 10 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/payments/address_normalizer.cc
diff --git a/components/payments/address_normalizer.cc b/components/payments/address_normalizer.cc
index 48866dd3fdf6ed930ef2912d906e2fbc7bc6362c..9b5a84adaf2123490201c16935e380826d2c7215 100644
--- a/components/payments/address_normalizer.cc
+++ b/components/payments/address_normalizer.cc
@@ -149,9 +149,8 @@ void AddressNormalizer::StartAddressNormalization(
}
}
-void AddressNormalizer::OnAddressValidationRulesLoaded(
- const std::string& region_code,
- bool success) {
+void AddressNormalizer::OnAddressRulesLoaded(const std::string& region_code,
+ bool success) {
// Check if an address normalization is pending.
auto it = pending_normalization_.find(region_code);
if (it != pending_normalization_.end()) {
@@ -162,4 +161,4 @@ void AddressNormalizer::OnAddressValidationRulesLoaded(
}
}
-} // namespace payments
+} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698