commit | 3fcbebf068765da09eac8be825de2b87db000f71 | [log] [tgz] |
---|---|---|
author | Lambros Lambrou <lambroslambrou@chromium.org> | Fri May 24 23:49:41 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 24 23:49:41 2019 |
tree | 915c069ae9be1d771a1eb6ac050548a8b5c65f1e | |
parent | 8fe958225ed198b69a0f6d5925733d718f12527e [diff] |
Command-line option to upgrade host config. This adds a command-line option to the host binary. If present, the host will test and maybe upgrade the config with a new refresh token. It will then exit with 0 if successful (or if no action was taken). On failure, it will retry fetching a new token, up to some maximum number of attempts. If unsuccessful, it exits with a non-zero exit-code. The config file is marked as updated, so that future invocations will not attempt token-exchange (saving some queries over the network). Bug: 954427 Change-Id: I4c95549baa5865699e14ef053fff895b9160377b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627553 Commit-Queue: Lambros Lambrou <lambroslambrou@chromium.org> Reviewed-by: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#663326}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .