test_platform: Add flag for sync offload

This is a temporary flag that
- will allow us do experimentation without setting up pubsub and
- serve as a clear kill switch while the offload flow is still unstable.

In the long term enabling sync offload will be enabled for all requests
that specify a pubsub topic since calling the offload binary adds a
negligible amount of overhead in cases when there's nothing to offload.

BUG=chromium:1050268
TEST=./generate.sh

Change-Id: I8d9d950beddcdce3c0be7f066c3e8aadb60adbb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2175735
Reviewed-by: Jacob Kopczynski <jkop@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Alex Zamorzaev <zamorzaev@chromium.org>
Tested-by: Alex Zamorzaev <zamorzaev@chromium.org>
2 files changed