| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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 CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBFACTORY_IMPL_H_ | |
| 6 #define CONTENT_RENDERER_INDEXED_DB_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/platform/WebVector.h" | |
| 12 | |
| 13 namespace WebKit { | |
| 14 class WebFrame; | |
| 15 class WebSecurityOrigin; | |
| 16 class WebString; | |
| 17 } | |
| 18 | |
| 19 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { | |
| 20 public: | |
| 21 RendererWebIDBFactoryImpl(); | |
| 22 virtual ~RendererWebIDBFactoryImpl(); | |
| 23 | |
| 24 // See WebIDBFactory.h for documentation on these functions. | |
| 25 virtual void getDatabaseNames( | |
| 26 WebKit::WebIDBCallbacks* callbacks, | |
| 27 const WebKit::WebSecurityOrigin& origin, | |
| 28 WebKit::WebFrame* web_frame, | |
| 29 const WebKit::WebString& data_dir); | |
| 30 | |
| 31 virtual void open( | |
| 32 const WebKit::WebString& name, | |
| 33 WebKit::WebIDBCallbacks* callbacks, | |
| 34 const WebKit::WebSecurityOrigin& origin, | |
| 35 WebKit::WebFrame* web_frame, | |
| 36 const WebKit::WebString& data_dir); | |
| 37 virtual void deleteDatabase( | |
| 38 const WebKit::WebString& name, | |
| 39 WebKit::WebIDBCallbacks* callbacks, | |
| 40 const WebKit::WebSecurityOrigin& origin, | |
| 41 WebKit::WebFrame* web_frame, | |
| 42 const WebKit::WebString& data_dir); | |
| 43 }; | |
| 44 | |
| 45 #endif // CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBFACTORY_IMPL_H_ | |
| OLD | NEW |