This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge] ServiceWorker: Directly delete database directory instead of …
…leveldb::DestroyDB When a database directory contains files not related to LevelDB, DestroyDB() does not delete the directory and leaves those files. This non-empty database directory infinitely fails ServiceWorkerDatabase::LazyOpen during a session. (See my comment #24 in the issue for more details). To avoid that, this CL directly deletes the directory instead of DestroyDB. BUG=468926 TEST=content_unittests --gtest_filter=ServiceWorkerResourceStorageDiskTest.DeleteAndStartOver* [email protected] Review URL: https://codereview.chromium.org/1176203007 Cr-Commit-Position: refs/heads/master@{#335893} (cherry picked from commit 0bd5fd7) Review URL: https://codereview.chromium.org/1214793006. Cr-Commit-Position: refs/branch-heads/2403@{#413} Cr-Branched-From: f54b809-refs/heads/master@{#330231}
- Loading branch information
Showing
6 changed files
with
206 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.