OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | |
6 #define CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | |
7 #pragma once | |
8 | |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" | |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | |
12 | |
13 namespace WebKit { | |
14 class WebDOMStringList; | |
15 class WebFrame; | |
16 class WebIDBDatabase; | |
17 class WebSecurityOrigin; | |
18 class WebString; | |
19 } | |
20 | |
21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { | |
22 public: | |
23 RendererWebIDBFactoryImpl(); | |
24 virtual ~RendererWebIDBFactoryImpl(); | |
25 | |
26 // See WebIDBFactory.h for documentation on these functions. | |
27 virtual void open( | |
28 const WebKit::WebString& name, | |
29 WebKit::WebIDBCallbacks* callbacks, | |
30 const WebKit::WebSecurityOrigin& origin, | |
31 WebKit::WebFrame* web_frame, | |
32 const WebKit::WebString& data_dir, | |
33 unsigned long long maximum_size, | |
34 WebKit::WebIDBFactory::BackingStoreType); | |
35 virtual void deleteDatabase( | |
36 const WebKit::WebString& name, | |
37 WebKit::WebIDBCallbacks* callbacks, | |
38 const WebKit::WebSecurityOrigin& origin, | |
39 WebKit::WebFrame* web_frame, | |
40 const WebKit::WebString& data_dir); | |
41 }; | |
42 | |
43 #endif // CHROME_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | |
OLD | NEW |