From 2b0ec8bb8b1d5e113ad072b27c3f157d985c6b21 Mon Sep 17 00:00:00 2001 From: "dumi@chromium.org" Date: Fri, 12 Feb 2010 19:24:04 +0000 Subject: Ask renderers to immediately close all DB handles to a database file when the file needs to be deleted. TEST=none BUG=none Review URL: http://codereview.chromium.org/594002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38911 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/database/database_connections.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'webkit/database/database_connections.h') diff --git a/webkit/database/database_connections.h b/webkit/database/database_connections.h index 02941c8..433bb3f 100644 --- a/webkit/database/database_connections.h +++ b/webkit/database/database_connections.h @@ -5,9 +5,10 @@ #ifndef WEBKIT_DATABASE_DATABASE_CONNECTIONS_H_ #define WEBKIT_DATABASE_DATABASE_CONNECTIONS_H_ -#include "base/string16.h" - #include +#include + +#include "base/string16.h" namespace webkit_database { @@ -25,7 +26,9 @@ class DatabaseConnections { void RemoveConnection(const string16& origin_identifier, const string16& database_name); void RemoveAllConnections(); - void RemoveConnections(const DatabaseConnections& connections); + void RemoveConnections( + const DatabaseConnections& connections, + std::vector >* closed_dbs); private: typedef std::map DBConnections; -- cgit v1.1