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 43a4a4061ccbe3d5bf1caa2d99808341d71201dd..d20ddd7e7037bd7560084d25345fde261f240292 100644 |
--- a/third_party/libaddressinput/chromium/chrome_address_validator.h |
+++ b/third_party/libaddressinput/chromium/chrome_address_validator.h |
@@ -48,6 +48,8 @@ class LoadRulesListener { |
// The |success| parameter is true when the rules were loaded successfully. |
virtual void OnAddressValidationRulesLoaded(const std::string& region_code, |
bool success) = 0; |
+ virtual void OnGettingSubKeysRulesLoaded(const std::string& region_code, |
sebsg
2017/02/10 16:00:32
As mentionned in the other comments, this can prob
Parastoo
2017/02/13 21:57:23
Acknowledged.
|
+ bool success) = 0; |
}; |
// Interface to the libaddressinput AddressValidator for Chromium Autofill. The |
@@ -94,6 +96,9 @@ class AddressValidator { |
// Invokes |load_rules_listener| when the loading has finished. |
virtual void LoadRules(const std::string& region_code); |
+ virtual std::vector<std::string> GetRegionSubKeys( |
sebsg
2017/02/10 16:00:32
Please add a comment describing this function.
Parastoo
2017/02/13 21:57:23
Done.
|
+ const std::string& region_code) const; |
+ |
// Validates the |address| and populates |problems| with the validation |
// problems, filtered according to the |filter| parameter. |
// |