Add options to GPU pixel test to use cloud storage for reference and error images.
In order to run the pixel tests in isolated mode it's necessary to
stop storing the reference and generated images on the local disk.
This CL adds command line options to the test to optionally store and
retrieve reference images from cloud storage, and to upload any error
images to cloud storage directly, instead of using the separate
Once this lands, the GPU recipe will be updated to switch to the new
command line arguments, at which point the old on-disk storage code
path will be deleted.
As part of this:
- Added an Exists() method to Telemetry's cloud_storage for
convenience, and added an option to make the uploaded file publicly
visible (required for the GPU pixel tests' web app).
- Added Bitmap.WritePngToFile to supplement the method which takes a
TEST=tested manually locally and verified upload, download, and error paths all work