diff options
author | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-12 19:24:04 +0000 |
---|---|---|
committer | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-12 19:24:04 +0000 |
commit | 2b0ec8bb8b1d5e113ad072b27c3f157d985c6b21 (patch) | |
tree | 7fd39372550d1bbb60dba7483151344a06c3ca60 /webkit/database/database_tracker_unittest.cc | |
parent | d84ac11ef8abf2366f8544fe76db3cb0e645e177 (diff) | |
download | chromium_src-2b0ec8bb8b1d5e113ad072b27c3f157d985c6b21.zip chromium_src-2b0ec8bb8b1d5e113ad072b27c3f157d985c6b21.tar.gz chromium_src-2b0ec8bb8b1d5e113ad072b27c3f157d985c6b21.tar.bz2 |
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
Diffstat (limited to 'webkit/database/database_tracker_unittest.cc')
-rw-r--r-- | webkit/database/database_tracker_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/database/database_tracker_unittest.cc b/webkit/database/database_tracker_unittest.cc index 8b44a451..0ed707d 100644 --- a/webkit/database/database_tracker_unittest.cc +++ b/webkit/database/database_tracker_unittest.cc @@ -26,6 +26,9 @@ class TestObserver : public webkit_database::DatabaseTracker::Observer { database_size_ = database_size; space_available_ = space_available; } + virtual void OnDatabaseScheduledForDeletion(const string16& origin_identifier, + const string16& database_name) { + } bool DidReceiveNewNotification() { bool temp_new_notification_received = new_notification_received_; new_notification_received_ = false; |