[roll] Roll fuchsia [fidl][llcpp] Decouple DecodedMessage and IncomingMessage

DecodedMessage used to inherit from IncomingMessage, and represents the
decoded form of an incoming message. This meant the destructor of
DecodedMessage would invoke the base class destructor ~IncomingMessage,
which is somewhat wasteful.

We can improve clarity and avoid unneeded destructors by separating
those classes. They are now related by a friend, such that only
`fidl::DecodedMessage<T>` instances may decode an incoming message,
"unsealing" the handles. This prevents handle leaks in situations where
the user called `IncomingMessage::Decode`, then discarded the incoming
message.

Since decoding happens only after moving an incoming message into a
`fidl::DecodedMessage<T>`, we can treat `IncomingMessage` effectively as
always in encoded form, which is a nice simplification.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/515925
Original-Revision: 520694b23ebf4c443179548a417e4dc23784f54d
GitOrigin-RevId: de0a466292d6eda8679f3cf15bea9240969833fb
Change-Id: I4a4a38193a06ad5a84d557861bc31389a6952722
1 file changed
tree: ae636a32cf84f4ced18a011b16b902452b585c42
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.