| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { | 21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { |
| 22 public: | 22 public: |
| 23 RendererWebIDBFactoryImpl(); | 23 RendererWebIDBFactoryImpl(); |
| 24 virtual ~RendererWebIDBFactoryImpl(); | 24 virtual ~RendererWebIDBFactoryImpl(); |
| 25 | 25 |
| 26 // See WebIDBFactory.h for documentation on these functions. | 26 // See WebIDBFactory.h for documentation on these functions. |
| 27 virtual void getDatabaseNames( | 27 virtual void getDatabaseNames( |
| 28 WebKit::WebIDBCallbacks* callbacks, | 28 WebKit::WebIDBCallbacks* callbacks, |
| 29 const WebKit::WebSecurityOrigin& origin, | 29 const WebKit::WebSecurityOrigin& origin, |
| 30 WebKit::WebFrame* web_frame, | 30 WebKit::WebFrame* web_frame, |
| 31 const WebKit::WebString& data_dir, | 31 const WebKit::WebString& data_dir); |
| 32 // TODO(dgrogan): Remove maximum_size after it's out of the webkit api. | |
| 33 unsigned long long maximum_size, | |
| 34 WebKit::WebIDBFactory::BackingStoreType); | |
| 35 | 32 |
| 36 virtual void open( | 33 virtual void open( |
| 37 const WebKit::WebString& name, | 34 const WebKit::WebString& name, |
| 38 WebKit::WebIDBCallbacks* callbacks, | 35 WebKit::WebIDBCallbacks* callbacks, |
| 39 const WebKit::WebSecurityOrigin& origin, | 36 const WebKit::WebSecurityOrigin& origin, |
| 40 WebKit::WebFrame* web_frame, | 37 WebKit::WebFrame* web_frame, |
| 41 const WebKit::WebString& data_dir, | |
| 42 // TODO(dgrogan): Remove maximum_size after it's out of the webkit api. | |
| 43 unsigned long long maximum_size, | |
| 44 WebKit::WebIDBFactory::BackingStoreType); | |
| 45 // FIXME(jochen): remove after webkit roll. | |
| 46 virtual void deleteDatabase( | |
| 47 const WebKit::WebString& name, | |
| 48 WebKit::WebIDBCallbacks* callbacks, | |
| 49 const WebKit::WebSecurityOrigin& origin, | |
| 50 WebKit::WebFrame* web_frame, | |
| 51 const WebKit::WebString& data_dir); | 38 const WebKit::WebString& data_dir); |
| 52 virtual void deleteDatabase( | 39 virtual void deleteDatabase( |
| 53 const WebKit::WebString& name, | 40 const WebKit::WebString& name, |
| 54 WebKit::WebIDBCallbacks* callbacks, | 41 WebKit::WebIDBCallbacks* callbacks, |
| 55 const WebKit::WebSecurityOrigin& origin, | 42 const WebKit::WebSecurityOrigin& origin, |
| 56 WebKit::WebFrame* web_frame, | 43 WebKit::WebFrame* web_frame, |
| 57 const WebKit::WebString& data_dir, | 44 const WebKit::WebString& data_dir); |
| 58 WebKit::WebIDBFactory::BackingStoreType); | |
| 59 }; | 45 }; |
| 60 | 46 |
| 61 #endif // CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ | 47 #endif // CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ |
| OLD | NEW |