feedv2: choose upload URL depending on channel
We need to pick the action upload endpoint based on the Chrome channel. While I was here, I refactored some code to hopefully make it more clear. There was one actual improvement: we were needlessly copying the request body before gzipping it. See b/156953207 for some additional information about the api endpoint. Bug: 1044139 Change-Id: I7ddac54abca3471d68dfffb080ede929ad178848 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2222801Reviewed-by:Ian Wells <iwells@chromium.org> Commit-Queue: Dan H <harringtond@chromium.org> Cr-Commit-Position: refs/heads/master@{#774698}
Showing
This diff is collapsed.
Please register or sign in to comment