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

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 9429029: Integrate the new DomStorage backend into DRT and test_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
Index: webkit/support/test_webkit_platform_support.cc
===================================================================
--- webkit/support/test_webkit_platform_support.cc (revision 122851)
+++ webkit/support/test_webkit_platform_support.cc (working copy)
@@ -321,7 +321,11 @@
WebKit::WebStorageNamespace*
TestWebKitPlatformSupport::createLocalStorageNamespace(
benm (inactive) 2012/02/23 19:17:15 Just wondering, why does this class not define a m
michaeln 2012/02/25 19:20:32 Direct consequence of how webcore and ultimately t
const WebKit::WebString& path, unsigned quota) {
+#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
+ return dom_storage_system_.CreateLocalStorageNamespace();
+#else
return WebKit::WebStorageNamespace::createLocalStorageNamespace(path, quota);
+#endif
}
void TestWebKitPlatformSupport::dispatchStorageEvent(
@@ -329,7 +333,9 @@
const WebKit::WebString& old_value, const WebKit::WebString& new_value,
const WebKit::WebString& origin, const WebKit::WebURL& url,
bool is_local_storage) {
- // The event is dispatched by the proxy.
+ // All events are dispatched by the WebCore::StorageAreaProxy in the
+ // simple single process case.
+ NOTREACHED();
}
WebKit::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() {

Powered by Google App Engine
This is Rietveld 408576698