Description[ServiceWorkerCache] Make the state of the cache backend explicit
The ServiceWorkerCache's backend transitions from uninitialized, to
open, to closed. Make that explicit in code by adding a state
variable instead of checking the state of the initialized_ and
backend_ member variables.
BUG=430884
Committed: https://crrev.com/7fbcce797ed32cf1d653ca5e4bf1dfad4cd7fc46
Cr-Commit-Position: refs/heads/master@{#303115}
Patch Set 1 #Patch Set 2 : Nits #
Total comments: 2
Messages
Total messages: 12 (3 generated)
|