Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Unified Diff: webkit/tools/test_shell/test_shell_webkit_init.h

Issue 147248: DOM Storage: Add renderer-process IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/src/StorageNamespaceProxy.cpp ('k') | webkit/tools/test_shell/test_worker/test_worker_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « webkit/api/src/StorageNamespaceProxy.cpp ('k') | webkit/tools/test_shell/test_worker/test_worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698