Remove deprecated Mojo system APIs

Desktop / Chromium - Ken Rockot [chromium.org] - 16 June 2017 19:39 EDT

Renames MojoReadMessageNew and MojoWriteMessageNew to MojoReadMessage and MojoWriteMessage, respectively. The old versions of the latter named APIs are removed.

Also removes MojoAllocMessage, and the short-lived MOJO_GET_SERIALIZED_MESSAGE_CONTENTS_FLAG_IGNORE_HANDLES flag which is no longer necessary.

BUG=725321

Change-Id: I53771248b9edc0e5d66abe49a772b3c98e0fced9 Reviewed-on: https://chromium-review.googlesource.com/537959 Commit-Queue: Ken Rockot

ef08488 Remove deprecated Mojo system APIs
mojo/edk/embedder/entrypoints.cc | 39 +---
mojo/edk/js/core.cc | 4 +-
mojo/edk/system/core.cc | 139 +-------------
mojo/edk/system/core.h | 21 +-
mojo/edk/system/core_test_base.cc | 8 +-
mojo/edk/system/core_unittest.cc | 75 +++++---
mojo/edk/system/dispatcher.cc | 8 +-
mojo/edk/system/dispatcher.h | 37 +---
mojo/edk/system/message_pipe_dispatcher.cc | 31 +--
mojo/edk/system/message_pipe_dispatcher.h | 9 +-
mojo/edk/system/message_pipe_unittest.cc | 4 +-
mojo/edk/system/message_unittest.cc | 48 +++--
.../system/multiprocess_message_pipe_unittest.cc | 4 +-
mojo/edk/system/user_message_impl.cc | 139 --------------
mojo/edk/system/user_message_impl.h | 13 --
mojo/public/c/system/message_pipe.h | 211 ++++-----------------
mojo/public/c/system/tests/core_perftest.cc | 2 +-
mojo/public/c/system/tests/core_unittest.cc | 12 +-
mojo/public/c/system/tests/core_unittest_pure_c.c | 6 +-
mojo/public/c/system/thunks.cc | 40 +---
mojo/public/c/system/thunks.h | 21 +-
mojo/public/cpp/system/message.h | 25 ---
mojo/public/cpp/system/message_pipe.cc | 6 +-
mojo/public/cpp/system/message_pipe.h | 8 +-
mojo/public/cpp/test_support/lib/test_utils.cc | 2 +-
mojo/public/js/core.js | 1 -
26 files changed, 173 insertions(+), 740 deletions(-)

Upstream: git.chromium.org


  • Share