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

Issue 2903273002: Fixes formatting of the signed-in setting string on iOS. (Closed)

Created:
3 years, 7 months ago by macourteau
Modified:
3 years, 7 months ago
CC:
anthonyvd, chromium-reviews, gogerald+paymentswatch_chromium.org, ios-reviews_chromium.org, ios-reviews+chrome_chromium.org, mahmadi+paymentswatch_chromium.org, marq+watch_chromium.org, noyau+watch_chromium.org, pkl (ping after 24h if needed), rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes formatting of the signed-in setting string on iOS. Also adds a test to ensure that that specific string gets formatted properly. R=mahmadi@chromium.org, rouslan@chromium.org BUG=602666 Review-Url: https://codereview.chromium.org/2903273002 . Cr-Commit-Position: refs/heads/master@{#474991} Committed: https://chromium.googlesource.com/chromium/src/+/b2c5e5f71d6b747d62709c6f9c190c1380ce8976

Patch Set 1 #

Patch Set 2 : Adds missing dependency. #

Total comments: 2

Patch Set 3 : Uses l10n_util::GetStringFUTF8. #

Total comments: 6

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M ios/chrome/browser/ui/payments/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_view_controller.mm View 1 2 3 2 chunks +4 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm View 1 2 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
macourteau
3 years, 7 months ago (2017-05-25 18:05:56 UTC) #1
macourteau
+rouslan for the payments_strings.grdp change. base::StringPrintf seems to expect the same format on iOS as ...
3 years, 7 months ago (2017-05-25 18:07:26 UTC) #5
Moe
lgtm
3 years, 7 months ago (2017-05-25 18:11:27 UTC) #6
please use gerrit instead
https://codereview.chromium.org/2903273002/diff/20001/ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm File ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm (right): https://codereview.chromium.org/2903273002/diff/20001/ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm#newcode208 ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm:208: const std::string unformattedString = l10n_util::GetStringUTF8( Shouldn't you be using ...
3 years, 7 months ago (2017-05-25 19:05:04 UTC) #11
macourteau
https://codereview.chromium.org/2903273002/diff/20001/ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm File ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm (right): https://codereview.chromium.org/2903273002/diff/20001/ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm#newcode208 ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm:208: const std::string unformattedString = l10n_util::GetStringUTF8( On 2017/05/25 19:05:04, ಠ_ಠ ...
3 years, 7 months ago (2017-05-25 19:32:09 UTC) #14
Moe
lgtm
3 years, 7 months ago (2017-05-25 19:39:35 UTC) #15
please use gerrit instead
lgtm % nits https://codereview.chromium.org/2903273002/diff/80001/ios/chrome/browser/ui/payments/payment_request_view_controller.mm File ios/chrome/browser/ui/payments/payment_request_view_controller.mm (right): https://codereview.chromium.org/2903273002/diff/80001/ios/chrome/browser/ui/payments/payment_request_view_controller.mm#newcode9 ios/chrome/browser/ui/payments/payment_request_view_controller.mm:9: #include "base/strings/stringprintf.h" Remove. https://codereview.chromium.org/2903273002/diff/80001/ios/chrome/browser/ui/payments/payment_request_view_controller.mm#newcode381 ios/chrome/browser/ui/payments/payment_request_view_controller.mm:381: base::SysNSStringToUTF16([_dataSource ...
3 years, 7 months ago (2017-05-25 19:42:45 UTC) #16
macourteau
https://codereview.chromium.org/2903273002/diff/80001/ios/chrome/browser/ui/payments/payment_request_view_controller.mm File ios/chrome/browser/ui/payments/payment_request_view_controller.mm (right): https://codereview.chromium.org/2903273002/diff/80001/ios/chrome/browser/ui/payments/payment_request_view_controller.mm#newcode9 ios/chrome/browser/ui/payments/payment_request_view_controller.mm:9: #include "base/strings/stringprintf.h" On 2017/05/25 19:42:44, ಠ_ಠ wrote: > Remove. ...
3 years, 7 months ago (2017-05-25 19:53:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2903273002/100001
3 years, 7 months ago (2017-05-25 20:04:20 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/303387)
3 years, 7 months ago (2017-05-25 23:44:48 UTC) #22
macourteau
Committed patchset #4 (id:100001) manually as b2c5e5f71d6b747d62709c6f9c190c1380ce8976 (presubmit successful).
3 years, 7 months ago (2017-05-26 13:19:19 UTC) #24
macourteau
3 years, 7 months ago (2017-05-26 17:16:07 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:100001) has been created in
https://codereview.chromium.org/2907883002/ by macourteau@chromium.org.

The reason for reverting is: Seems like this broke ios-simulator tests on the
waterfall. Reverting and will re-land once fixed..

Powered by Google App Engine
This is Rietveld 408576698