device_management_service: Transform ifs to switch-case
Transform the sequence of ifs to set authentication headers to a switch-case over the token type. Bug: none Change-Id: Id636342873c77f76cf6adb8abe7f5668c448b2b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567219 Commit-Queue: Pavol Marko <pmarko@chromium.org> Reviewed-by:Michael Ershov <miersh@google.com> Cr-Commit-Position: refs/heads/master@{#835619}
Showing
Please register or sign in to comment