summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/simple_database_system.h
diff options
context:
space:
mode:
authordumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-12 19:24:04 +0000
committerdumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-12 19:24:04 +0000
commit2b0ec8bb8b1d5e113ad072b27c3f157d985c6b21 (patch)
tree7fd39372550d1bbb60dba7483151344a06c3ca60 /webkit/tools/test_shell/simple_database_system.h
parentd84ac11ef8abf2366f8544fe76db3cb0e645e177 (diff)
downloadchromium_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/tools/test_shell/simple_database_system.h')
-rw-r--r--webkit/tools/test_shell/simple_database_system.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/simple_database_system.h b/webkit/tools/test_shell/simple_database_system.h
index 766940e..8441d31 100644
--- a/webkit/tools/test_shell/simple_database_system.h
+++ b/webkit/tools/test_shell/simple_database_system.h
@@ -1,6 +1,6 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
-// source code is governed by a BSD-style license that can be found in the
-// LICENSE file.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DATABASE_SYSTEM_H_
#define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DATABASE_SYSTEM_H_
@@ -46,6 +46,8 @@ class SimpleDatabaseSystem : public webkit_database::DatabaseTracker::Observer,
const string16& database_name,
int64 database_size,
int64 space_available);
+ virtual void OnDatabaseScheduledForDeletion(const string16& origin_identifier,
+ const string16& database_name);
// WebDatabaseObserver implementation
virtual void databaseOpened(const WebKit::WebDatabase& database);