Chromium Code Reviews
Descriptionbase: Make TimeDurationFormat* report failures.
Update base::TimeDurationFormat() and
base::TimeDurationFormatWithSeconds() to return boolean
"success" values and use out-params to return formatted
strings. ICU errors were formerly swallowed, which makes it
impossible for the UI to handle them gracefully or for
developers to investigate their causes.
BUG=698802, 677043
TBR=jshin@chromium.org
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2734883003
Cr-Commit-Position: refs/heads/master@{#455144}
(cherry picked from commit efcd30ca164e0e1bbcfe402840d8c23aa9d40fd9)
Review-Url: https://codereview.chromium.org/2745233002 .
Cr-Commit-Position: refs/branch-heads/2987@{#818}
Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943}
Committed: https://chromium.googlesource.com/chromium/src/+/01ae29ee6c467754119319d62513e97085eafa96
Patch Set 1 #Patch Set 2 : try again #Patch Set 3 : remove accidentally-added code #Patch Set 4 : merge #
Messages
Total messages: 19 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||