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

Unified Diff: chrome/renderer/renderer_webidbfactory_impl.cc

Issue 3163028: Fix compilation errors of 56862 (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix include path (again) Created 10 years, 4 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/renderer/renderer_webidbfactory_impl.h ('k') | chrome/renderer/renderer_webidbtransaction_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbfactory_impl.cc
diff --git a/chrome/renderer/renderer_webidbfactory_impl.cc b/chrome/renderer/renderer_webidbfactory_impl.cc
index 2ccf84a7c051aeb5591d7cc18184306379e5c27e..f1dd4dd9c3dd7fff959fb31b3bf28a58fbef7826 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));
+}
« no previous file with comments | « chrome/renderer/renderer_webidbfactory_impl.h ('k') | chrome/renderer/renderer_webidbtransaction_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698