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

Unified Diff: components/payments/core/address_normalizer.h

Issue 2829503002: [Payments] Normalize Shipping Address sent to merchant on Desktop. (Closed)
Patch Set: Be more strict on country code Created 3 years, 8 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/core/address_normalizer.h
diff --git a/components/payments/core/address_normalizer.h b/components/payments/core/address_normalizer.h
index f3d2a240fb59de2a2e5db65cd330bf6b2de7cf34..94db55ff18864892fe6a8cd82f94156b142d7b71 100644
--- a/components/payments/core/address_normalizer.h
+++ b/components/payments/core/address_normalizer.h
@@ -58,7 +58,7 @@ class AddressNormalizer : public autofill::LoadRulesListener {
// Returns whether the rules for the specified |region_code| have finished
// loading.
- bool AreRulesLoadedForRegion(const std::string& region_code);
+ virtual bool AreRulesLoadedForRegion(const std::string& region_code);
// Starts the normalization of the |profile| based on the |region_code|. The
// normalized profile will be returned to the |requester| possibly
@@ -68,10 +68,11 @@ class AddressNormalizer : public autofill::LoadRulesListener {
// happen synchronously, or not at all if the rules are not already loaded.
// Will start loading the rules for the |region_code| if they had not started
// loading.
- void StartAddressNormalization(const autofill::AutofillProfile& profile,
- const std::string& region_code,
- int timeout_seconds,
- Delegate* requester);
+ virtual void StartAddressNormalization(
+ const autofill::AutofillProfile& profile,
+ const std::string& region_code,
+ int timeout_seconds,
+ Delegate* requester);
private:
// Called when the validation rules for the |region_code| have finished
« no previous file with comments | « components/payments/content/payment_response_helper_unittest.cc ('k') | components/payments/core/payment_request_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698