Fix base::GetNativeLibraryName() for Mac.

- Also change GetNativeLibraryName() to take a StringPiece and return a
  std::string, instead of StringPiece16/string16.
- Use that in a few places to get rid of platform-specific ifdefs.

Review-Url: https://codereview.chromium.org/2048523002
Cr-Commit-Position: refs/heads/master@{#399759}


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