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

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

Issue 2680143002: Use dropdown list for admin areas in pr form. (Closed)
Patch Set: wip 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: 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.
//

Powered by Google App Engine
This is Rietveld 408576698