Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: webkit/database/vfs_backend.cc

Issue 7234014: Move code to clear web databases on shutdown to the database tracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/database/vfs_backend.cc
diff --git a/webkit/database/vfs_backend.cc b/webkit/database/vfs_backend.cc
index b3879cef47b8f88a4a237dc3de6d6af79e0b481c..09c50d99e7c764087c1aa40618fb587877be606d 100644
--- a/webkit/database/vfs_backend.cc
+++ b/webkit/database/vfs_backend.cc
@@ -103,6 +103,10 @@ void VfsBackend::OpenFile(const FilePath& file_path,
base::PLATFORM_FILE_DELETE_ON_CLOSE;
}
+ // This flag will allow us to delete the file later on from the browser
+ // process.
+ //flags |= base::PLATFORM_FILE_SHARE_DELETE;
Miranda Callahan 2011/06/22 16:40:54 Should this be removed?
+
// Try to open/create the DB file.
*file_handle =
base::CreatePlatformFile(file_path, flags, NULL, NULL);

Powered by Google App Engine
This is Rietveld 408576698