Extracted logging::SystemErrorCodeToString function.
Allows to use any errors, and particularly useful for logging HRESULT on Windows.

Included error code on windows into error message.

Removed unused LOG_GETLASTERROR_MODULE logging macros.

Review URL: https://codereview.chromium.org/244583002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265460 0039d316-1c4b-4281-b951-d872f2087c98


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