[XProto] Move SendRequest() into source file
Most of SendRequest doesn't depend on the template parameter |Reply|, so move the common code into a non-template function defined in the source file. This should hopefully reduce binary size since SendRequest() gets instantiated for every Request type (654 in total). BUG=1066670 R=sky Change-Id: Iee5934f42b1c4ceb02b3279452e4cadbb7a620fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2268841Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#783074}
Showing
Please register or sign in to comment