• Rouslan Solomakhin's avatar
    Unify shipping address label creation for web payments UI. · 33a338b4
    Rouslan Solomakhin authored
    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: default avatarmahmadi <mahmadi@chromium.org>
    Reviewed-by: default avatarAnthony Vallee-Dubois <anthonyvd@chromium.org>
    Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#473951}
    33a338b4
payment_request_util.mm 4.31 KB