DescriptionServiceWorker: DB functions should return status code instead of boolean (2)
Part1: https://codereview.chromium.org/275103004/
This change makes the following functions return status code instead of boolean.
- GetRegistrationsForOrigin()
- GetAllRegistrations()
- LazyOpen()
- ReadDatabaseVersion()
Other remaining functions will be fixed in the following CLs.
BUG=372704
TEST=should pass all existing tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271329
Patch Set 1 : #Patch Set 2 : fix #
Total comments: 11
Patch Set 3 : address comments partially #
Total comments: 1
Patch Set 4 : add ServiceWorkerDatabase::Status #Patch Set 5 : add IsNewOrNonexistentDatabase() #Patch Set 6 : rebase #Messages
Total messages: 14 (0 generated)
|