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

Unified Diff: chrome/browser/in_process_webkit/indexed_db_callbacks.cc

Issue 6513002: indexeddb: make setVersion fire blocked event if other connections are open (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/in_process_webkit/indexed_db_callbacks.h ('k') | chrome/common/indexed_db_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/in_process_webkit/indexed_db_callbacks.cc
diff --git a/chrome/browser/in_process_webkit/indexed_db_callbacks.cc b/chrome/browser/in_process_webkit/indexed_db_callbacks.cc
index 395919db75dabb8ca0546f8a8d1b066849f52f76..c4584c6a5dd6de67f20be3ddb5fae4f08997141f 100644
--- a/chrome/browser/in_process_webkit/indexed_db_callbacks.cc
+++ b/chrome/browser/in_process_webkit/indexed_db_callbacks.cc
@@ -29,6 +29,10 @@ void IndexedDBCallbacksBase::onError(const WebKit::WebIDBDatabaseError& error) {
response_id_, error.code(), error.message()));
}
+void IndexedDBCallbacksBase::onBlocked() {
+ dispatcher_host_->Send(new IndexedDBMsg_CallbacksBlocked(response_id_));
+}
+
void IndexedDBTransactionCallbacks::onAbort() {
dispatcher_host_->Send(
new IndexedDBMsg_TransactionCallbacksAbort(transaction_id_));
« no previous file with comments | « chrome/browser/in_process_webkit/indexed_db_callbacks.h ('k') | chrome/common/indexed_db_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698