Mojo C++ Bindings: Shave off some more code size
Makes all SerializationContext state private and adds out-of-line
helper methods to manipulate it.
Also adds a base AssociatedInterfacePtrState class to force shared
code across template instantiations for a minor enhancement.
Overall decrease of Android binary size is ~60 kB.
BUG=737372
Change-Id: I17f26bef075faad70357cf90239e0960935553b0
Reviewed-on: https://chromium-review.googlesource.com/553429
Commit-Queue: Ken Rockot <rockot@chromium.org>
Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483544}
CrOS-Libchrome-Original-Commit: 916a4ce665a069b167196957b1d38af1251f59a8
14 files changed