Chromium Code Reviews
DescriptionFormat remaining download time in java code
When displaying the remaining download time, ui::TimeFormat::Simple() is
called.
It calls into third_party/icu, and is quite expensive, takes 70kB from memory dump.
This CL adds a simple java method to replace that call.
The Java method is similar to
android.java.text.Formatter.formatShortElapsedTime().
And it should generate the same output string as
ui::TimeFormat::Simple().
BUG=620479
Committed: https://crrev.com/9d2f27dd1d80ce3a4c295e9551d16d91329f3e9e
Cr-Commit-Position: refs/heads/master@{#400370}
Patch Set 1 #
Total comments: 6
Patch Set 2 : adding test #Patch Set 3 : fix findbugs warning #
Messages
Total messages: 18 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||