commit | 5a50d93bc97f6b26a53b2efec95efa8e124d3027 | [log] [tgz] |
---|---|---|
author | dschinazi <dschinazi@google.com> | Wed Jun 17 12:43:36 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jun 17 12:44:07 2020 -0700 |
tree | 5ef76d9ff3518dccfcf513283b12bedff6d561b5 | |
parent | 2da16bec4c3e581a9ce3b1bd8b30d6ddaad4debc [diff] |
Introduce QuicDisableVersion and QuicVersionIsEnabled These functions are mainly meant for tests, but are accessible from prod code because there are legitimate uses for disabling versions in production. The main goal here is to simplify adding and removing new versions by reducing the amount of code that sets these flags directly. This CL does not change any existing behavior. No behavior change PiperOrigin-RevId: 316944337 Change-Id: Ieebd6ae4cc493b49269540c5d0fd7acbe655e5fa