commit | 2072f0430b9caf99cc75680cf5baddd68b49c0f7 | [log] [tgz] |
---|---|---|
author | Han Leon <leon.han@intel.com> | Tue Jul 10 09:44:13 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 10 09:44:13 2018 |
tree | 48b87246623d5393349103f2ccdc9f5a7ad98d09 | |
parent | 603a823f1aa8bca257bf5388bad91be927aff559 [diff] |
[ServiceWorker] Change ServiceWorkerStatusCode::kMax to kMaxValue This CL renames ServiceWorkerStatusCode::kMax to kMaxValue and sets its value as the highest enumerator value, this avoids switch statements having to handle a sentinel no-op value and makes it easier to use UMA_HISTOGRAM_ENUMERATION(). Then, this CL revises all related tests. BUG=789854 Change-Id: Ic0e9ad8f9bf90bb3e2b08dc424957a2f3a545c52 Reviewed-on: https://chromium-review.googlesource.com/1125532 Commit-Queue: Han Leon <leon.han@intel.com> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#573664}
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 .