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

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

Issue 10086018: More DomStorage house cleaning (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/tools/test_shell/test_shell_webkit_init.h ('k') | webkit/tools/test_shell/test_webview_delegate.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.cc
===================================================================
--- webkit/tools/test_shell/test_shell_webkit_init.cc (revision 132437)
+++ webkit/tools/test_shell/test_shell_webkit_init.cc (working copy)
@@ -257,28 +257,9 @@
WebKit::WebStorageNamespace* TestShellWebKitInit::createLocalStorageNamespace(
const WebKit::WebString& path, unsigned quota) {
-#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
return dom_storage_system_.CreateLocalStorageNamespace();
-#else
- // Enforce quota here, ignoring the value from the renderer as in Chrome.
- return WebKit::WebStorageNamespace::createLocalStorageNamespace(
- path,
- WebKit::WebStorageNamespace::m_localStorageQuota);
-#endif
}
-void TestShellWebKitInit::dispatchStorageEvent(
- const WebKit::WebString& key,
- const WebKit::WebString& old_value, const WebKit::WebString& new_value,
- const WebKit::WebString& origin, const WebKit::WebURL& url,
- bool is_local_storage) {
- // All events are dispatched by the WebCore::StorageAreaProxy in the
- // simple single process case.
-#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
- NOTREACHED();
-#endif
-}
-
WebKit::WebIDBFactory* TestShellWebKitInit::idbFactory() {
return WebKit::WebIDBFactory::create();
}
« no previous file with comments | « webkit/tools/test_shell/test_shell_webkit_init.h ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698