Making the Mojo Channel Messages legacy mode dynamic.
The mojo::edk::Channel::Message class uses a compile flag to determine
whether to use the legacy or normal mode (legacy mode is used to keep
backward compatibility between Arc++ and ChromeOS).
Making that flag dynamically set on the embedder so that the default is
now normal mode on Android. This is going to be used for adding
Parcelable support on mojo Android (where we'll need the normal
Message's header to include the parcelables).
BUG=699311
Review-Url: https://codereview.chromium.org/2749853003
Cr-Commit-Position: refs/heads/master@{#457549}
CrOS-Libchrome-Original-Commit: f2be81a465a7b2ef07b3667f83de1009206acace
4 files changed