Chromium Code Reviews| 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() { |