[Lorenz] Load dependency graph from GS bucket, fallback to localhost

Currently we only load from localhost. That will not work in production,
so first try to access a graph from gs://clank-dependency-graphs, then
fall back to localhost (which cannot GET from the bucket due to CORS).

Bug: 1111056
Change-Id: Idf06dfeb6eb49047e7c4c54f60c99e156f0387d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2327463
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#793703}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cf2d545c86b23d9fc5a23e92668a3738b0bd93e8
3 files changed