summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webidbfactory_impl.h
diff options
context:
space:
mode:
authorandreip@chromium.org <andreip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 16:05:02 +0000
committerandreip@chromium.org <andreip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 16:05:02 +0000
commit1f79401611f73ac332233ce35ef1c29b7c7af0c2 (patch)
tree93247f538a34e9d2ba7d6472599321869a051309 /chrome/renderer/renderer_webidbfactory_impl.h
parent7de5b825b9c3baacaa038f3f1e6c7c45bdabad8e (diff)
downloadchromium_src-1f79401611f73ac332233ce35ef1c29b7c7af0c2.zip
chromium_src-1f79401611f73ac332233ce35ef1c29b7c7af0c2.tar.gz
chromium_src-1f79401611f73ac332233ce35ef1c29b7c7af0c2.tar.bz2
Add transaction coordinator. Allow idle transactions to be aborted when their parent JS context finishes executing.
This change depends on the following WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=44101 Review URL: http://codereview.chromium.org/3165026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webidbfactory_impl.h')
-rw-r--r--chrome/renderer/renderer_webidbfactory_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_webidbfactory_impl.h b/chrome/renderer/renderer_webidbfactory_impl.h
index de71220..e2f2b47 100644
--- a/chrome/renderer/renderer_webidbfactory_impl.h
+++ b/chrome/renderer/renderer_webidbfactory_impl.h
@@ -8,6 +8,7 @@
#include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h"
#include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h"
+#include "third_party/WebKit/WebKit/chromium/public/WebVector.h"
namespace WebKit {
class WebDOMStringList;
@@ -27,6 +28,8 @@ class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory {
const WebKit::WebString& name, const WebKit::WebString& description,
WebKit::WebIDBCallbacks* callbacks,
const WebKit::WebSecurityOrigin& origin, WebKit::WebFrame* web_frame);
+ virtual void abortPendingTransactions(
+ const WebKit::WebVector<int>& pendingIDs);
};
#endif // CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_