diff options
Diffstat (limited to 'base/string_util.h')
-rw-r--r-- | base/string_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/string_util.h b/base/string_util.h index 1b657ad..ae8b93c 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -424,16 +424,16 @@ DataUnits GetByteDisplayUnits(int64 bytes); // specified by 'units', with an optional unit suffix. // Ex: FormatBytes(512, DATA_UNITS_KIBIBYTE, true) => "0.5 KB" // Ex: FormatBytes(10*1024, DATA_UNITS_MEBIBYTE, false) => "0.1" -std::wstring FormatBytes(int64 bytes, DataUnits units, bool show_units); +string16 FormatBytes(int64 bytes, DataUnits units, bool show_units); // As above, but with "/s" units. // Ex: FormatSpeed(512, DATA_UNITS_KIBIBYTE, true) => "0.5 KB/s" // Ex: FormatSpeed(10*1024, DATA_UNITS_MEBIBYTE, false) => "0.1" -std::wstring FormatSpeed(int64 bytes, DataUnits units, bool show_units); +string16 FormatSpeed(int64 bytes, DataUnits units, bool show_units); // Return a number formated with separators in the user's locale way. // Ex: FormatNumber(1234567) => 1,234,567 -std::wstring FormatNumber(int64 number); +string16 FormatNumber(int64 number); // Starting at |start_offset| (usually 0), replace the first instance of // |find_this| with |replace_with|. |