OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | 5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ |
6 #define CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | 6 #define CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h" |
10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h" |
| 11 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" |
11 | 12 |
12 namespace WebKit { | 13 namespace WebKit { |
13 class WebDOMStringList; | 14 class WebDOMStringList; |
14 class WebFrame; | 15 class WebFrame; |
15 class WebIDBDatabase; | 16 class WebIDBDatabase; |
16 class WebSecurityOrigin; | 17 class WebSecurityOrigin; |
17 class WebString; | 18 class WebString; |
18 } | 19 } |
19 | 20 |
20 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { | 21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { |
21 public: | 22 public: |
22 RendererWebIDBFactoryImpl(); | 23 RendererWebIDBFactoryImpl(); |
23 virtual ~RendererWebIDBFactoryImpl(); | 24 virtual ~RendererWebIDBFactoryImpl(); |
24 | 25 |
25 // See WebIDBFactory.h for documentation on these functions. | 26 // See WebIDBFactory.h for documentation on these functions. |
26 virtual void open( | 27 virtual void open( |
27 const WebKit::WebString& name, const WebKit::WebString& description, | 28 const WebKit::WebString& name, const WebKit::WebString& description, |
28 WebKit::WebIDBCallbacks* callbacks, | 29 WebKit::WebIDBCallbacks* callbacks, |
29 const WebKit::WebSecurityOrigin& origin, WebKit::WebFrame* web_frame); | 30 const WebKit::WebSecurityOrigin& origin, WebKit::WebFrame* web_frame); |
| 31 virtual void abortPendingTransactions( |
| 32 const WebKit::WebVector<int>& pendingIDs); |
30 }; | 33 }; |
31 | 34 |
32 #endif // CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | 35 #endif // CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ |
OLD | NEW |