Mojo: Add static factory functions to MessagePipe.

(Also convert the existing convenience constructor to a static factor function.)

This avoids everyone having to know about
LocalMessagePipeEndpoint/RemoteMessagePipeEndpoint.

R=darin@chromium.org

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

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


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