Index: webkit/tools/test_shell/test_shell_webkit_init.h |
=================================================================== |
--- webkit/tools/test_shell/test_shell_webkit_init.h (revision 21404) |
+++ webkit/tools/test_shell/test_shell_webkit_init.h (working copy) |
@@ -12,6 +12,8 @@ |
#include "media/base/media.h" |
#include "webkit/api/public/WebData.h" |
#include "webkit/api/public/WebKit.h" |
+#include "webkit/api/public/WebStorageArea.h" |
+#include "webkit/api/public/WebStorageNamespace.h" |
#include "webkit/api/public/WebString.h" |
#include "webkit/api/public/WebURL.h" |
#include "webkit/glue/simple_webmimeregistry_impl.h" |
@@ -126,6 +128,15 @@ |
return ASCIIToUTF16("en-US"); |
} |
+ virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
+ const WebKit::WebString& path) { |
+ return WebKit::WebStorageNamespace::createLocalStorageNamespace(path); |
+ } |
+ |
+ virtual WebKit::WebStorageNamespace* createSessionStorageNamespace() { |
+ return WebKit::WebStorageNamespace::createSessionStorageNamespace(); |
+ } |
+ |
private: |
webkit_glue::SimpleWebMimeRegistryImpl mime_registry_; |
scoped_ptr<WebKit::WebClipboard> clipboard_; |