Chromium Code Reviews| Index: webkit/tools/test_shell/test_webview_delegate.cc |
| =================================================================== |
| --- webkit/tools/test_shell/test_webview_delegate.cc (revision 123798) |
| +++ webkit/tools/test_shell/test_webview_delegate.cc (working copy) |
| @@ -70,6 +70,7 @@ |
| #include "webkit/tools/test_shell/mock_spellcheck.h" |
| #include "webkit/tools/test_shell/notification_presenter.h" |
| #include "webkit/tools/test_shell/simple_appcache_system.h" |
| +#include "webkit/tools/test_shell/simple_dom_storage_system.h" |
| #include "webkit/tools/test_shell/simple_file_system.h" |
| #include "webkit/tools/test_shell/test_navigation_controller.h" |
| #include "webkit/tools/test_shell/test_shell.h" |
| @@ -333,9 +334,13 @@ |
| WebStorageNamespace* TestWebViewDelegate::createSessionStorageNamespace( |
|
michaeln
2012/02/28 06:04:23
Oh well...
My assumption that this was utilized i
|
| unsigned quota) { |
| +#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND |
| + return SimpleDomStorageSystem::instance().CreateSessionStorageNamespace(); |
| +#else |
| // Enforce quota, ignoring the parameter from WebCore as in Chrome. |
| return WebKit::WebStorageNamespace::createSessionStorageNamespace( |
| WebStorageNamespace::m_sessionStorageQuota); |
| +#endif |
| } |
| WebGraphicsContext3D* TestWebViewDelegate::createGraphicsContext3D( |