summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webidbfactory_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/renderer_webidbfactory_impl.cc')
-rw-r--r--chrome/renderer/renderer_webidbfactory_impl.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_webidbfactory_impl.cc b/chrome/renderer/renderer_webidbfactory_impl.cc
index 2ccf84a..f1dd4dd 100644
--- a/chrome/renderer/renderer_webidbfactory_impl.cc
+++ b/chrome/renderer/renderer_webidbfactory_impl.cc
@@ -32,3 +32,13 @@ void RendererWebIDBFactoryImpl::open(
dispatcher->RequestIDBFactoryOpen(
name, description, callbacks, origin.databaseIdentifier(), web_frame);
}
+
+void RendererWebIDBFactoryImpl::abortPendingTransactions(
+ const WebKit::WebVector<int>& pendingIDs) {
+ std::vector<int> ids;
+ for (size_t i = 0; i < pendingIDs.size(); ++i) {
+ ids.push_back(pendingIDs[i]);
+ }
+ RenderThread::current()->Send(
+ new ViewHostMsg_IDBFactoryAbortPendingTransactions(ids));
+}