Convert <Num>ToString functions to use an overload.

This avoids needing to manually encode the type in the function call
as the correct variant will automatically be called for the input type.

Inline forwarding versions are left in the header for backwards
compatibility. These will be replaced in future patches.

Adds a Double->String16 conversion variant. Even though this is
currently never used, it feels like we should have this variant available.

Change-Id: I96ed8bb9100e8dbae3e4eff86edd3d1cfa040f8f
Reviewed-on: https://chromium-review.googlesource.com/772974
Commit-Queue: Brett Wilson <brettw@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517237}

CrOS-Libchrome-Original-Commit: 88ed598e54742d2f73e530f5618283f154caba6f
3 files changed
tree: 4d30227d314c1af33c4ba5a8513d2133cbfbdc7d
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/