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

Unified Diff: content/browser/in_process_webkit/indexed_db_database_callbacks.cc

Issue 10695158: IndexedDB: Close open databases when user requests browsing data deletion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove const from iterator (not sure how this slipped through) Created 8 years, 3 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: content/browser/in_process_webkit/indexed_db_database_callbacks.cc
diff --git a/content/browser/in_process_webkit/indexed_db_database_callbacks.cc b/content/browser/in_process_webkit/indexed_db_database_callbacks.cc
index 8a5e54b66d33c484b0b01112a982251809ff86d7..3c2ee4e78d8867b82a34167bc0e20c5446952199 100644
--- a/content/browser/in_process_webkit/indexed_db_database_callbacks.cc
+++ b/content/browser/in_process_webkit/indexed_db_database_callbacks.cc
@@ -19,6 +19,11 @@ IndexedDBDatabaseCallbacks::IndexedDBDatabaseCallbacks(
IndexedDBDatabaseCallbacks::~IndexedDBDatabaseCallbacks() {
}
+void IndexedDBDatabaseCallbacks::onForcedClose() {
+ dispatcher_host_->Send(
+ new IndexedDBMsg_DatabaseCallbacksForcedClose(thread_id_, database_id_));
+}
+
void IndexedDBDatabaseCallbacks::onVersionChange(long long old_version,
long long new_version) {
dispatcher_host_->Send(

Powered by Google App Engine
This is Rietveld 408576698