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

Unified Diff: ios/chrome/browser/ui/payments/region_data_loader.h

Issue 2950843002: [Payment Request] Populates region field if region code/name is valid. (Closed)
Patch Set: Addressed comment Created 3 years, 6 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: ios/chrome/browser/ui/payments/region_data_loader.h
diff --git a/ios/chrome/browser/ui/payments/region_data_loader.h b/ios/chrome/browser/ui/payments/region_data_loader.h
index 452293afc30259e76c9224a7162f1e9c4b0aef41..689e8f80c25cc321075512aeedcdcd862aec3308 100644
--- a/ios/chrome/browser/ui/payments/region_data_loader.h
+++ b/ios/chrome/browser/ui/payments/region_data_loader.h
@@ -21,7 +21,10 @@ class ComboboxModel;
@protocol RegionDataLoaderConsumer
-- (void)regionDataLoaderDidSucceedWithRegions:(NSArray<NSString*>*)regions;
+// To be called with a map of region codes to region names when region data for
+// the given country code is loaded asynchronously.
+- (void)regionDataLoaderDidSucceedWithRegions:
+ (NSDictionary<NSString*, NSString*>*)regions;
@end
« no previous file with comments | « ios/chrome/browser/ui/payments/address_edit_mediator.mm ('k') | ios/chrome/browser/ui/payments/region_data_loader.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698