Update QuickView file size with extra precision digit
Add optional argument to the QuickView file_metadata_formatter.js to add extra precision to the file size shown in the metadata box. Change the underlying bytesToString() formatting function to add the desired number of precision digits to the file size text if needed. Test: browser_tests --gtest_filter="*FileManagerJsTest.UtilTest" Bug: 977068 Change-Id: Iaa6a08fbcbd7663ce2ec8d9347fc659894343926 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1760840Reviewed-by:Noel Gordon <noel@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#703562}
Showing
Please register or sign in to comment