Index: chrome/browser/renderer_host/database_dispatcher_host.h |
=================================================================== |
--- chrome/browser/renderer_host/database_dispatcher_host.h (revision 35502) |
+++ chrome/browser/renderer_host/database_dispatcher_host.h (working copy) |
@@ -10,6 +10,7 @@ |
#include "base/ref_counted.h" |
#include "base/string16.h" |
#include "ipc/ipc_message.h" |
+#include "webkit/database/database_connections.h" |
#include "webkit/database/database_tracker.h" |
class DatabaseDispatcherHost |
@@ -81,9 +82,6 @@ |
void DatabaseClosed(const string16& origin_identifier, |
const string16& database_name); |
- void AddAccessedOrigin(const string16& origin_identifier); |
- bool HasAccessedOrigin(const string16& origin_identifier); |
- |
// The database tracker for the current profile. |
scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
@@ -102,7 +100,8 @@ |
// only when the corresponding renderer process is about to go away. |
bool shutdown_; |
- base::hash_set<string16> accessed_origins_; |
+ // Keeps track of all DB connections opened by this renderer |
+ webkit_database::DatabaseConnections database_connections_; |
}; |
#endif // CHROME_BROWSER_RENDERER_HOST_DATABASE_DISPATCHER_HOST_H_ |