Unify shipping address label creation for web payments UI.
Before this patch, the desktop web payments UI omitted sorting code and dependent locality when constructing labels for shipping addresses. That would confuse users located in such countries as France, where sorting code is used. This patch moves the iOS functions to create labels for shipping and billing address labels into components/payments/core/strings_util.h and uses these functions from both iOS and desktop. After this patch, the shipping addresses on desktop show i18n addresses from all countries correctly. Bug: 725182 Change-Id: I9d1fcc513d11914b54553644f82743d2685972c0 Reviewed-on: https://chromium-review.googlesource.com/511102Reviewed-by:mahmadi <mahmadi@chromium.org> Reviewed-by:
Anthony Vallee-Dubois <anthonyvd@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#473951}
Showing
Please register or sign in to comment