Stop warnings resulting from unimplemented SetProcessBackgrounded().

Process::SetProcessBackgrounded() is not implemented on certain
platforms (e.g. OS X). Calling Process::SetProcessBackgrounded() on
these systems results in a warning to the console. Callers should
first check result of Process::CanBackgroundProcesses() before calling
SetProcessBackgrounded().

This cl also fixes a small error in the documentation for
SetProcessBackgrounded().

BUG=537301

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

Cr-Commit-Position: refs/heads/master@{#351943}


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