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 |