diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 09:13:12 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 09:13:12 +0000 |
commit | ee2be5b38100f85155ab667d9979350f3a51e3fc (patch) | |
tree | e08834c987b20922238d1177f50fa28a6cc9d7fb /webkit/tools/test_shell | |
parent | f94ead7d53296e14f1254ad1cdd4b73f3d6b9130 (diff) | |
download | chromium_src-ee2be5b38100f85155ab667d9979350f3a51e3fc.zip chromium_src-ee2be5b38100f85155ab667d9979350f3a51e3fc.tar.gz chromium_src-ee2be5b38100f85155ab667d9979350f3a51e3fc.tar.bz2 |
Enable the URL portion of storage events. This is mostly just plumbing + a hack for making them work in test shell and single process mode.
This replaces http://codereview.chromium.org/335034/show
TEST=none
BUG=24581
Review URL: http://codereview.chromium.org/363014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r-- | webkit/tools/test_shell/test_shell_webkit_init.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/test_shell_webkit_init.h b/webkit/tools/test_shell/test_shell_webkit_init.h index ee7845b..a360e77 100644 --- a/webkit/tools/test_shell/test_shell_webkit_init.h +++ b/webkit/tools/test_shell/test_shell_webkit_init.h @@ -198,7 +198,8 @@ class TestShellWebKitInit : public webkit_glue::WebKitClientImpl { void dispatchStorageEvent(const WebKit::WebString& key, const WebKit::WebString& old_value, const WebKit::WebString& new_value, - const WebKit::WebString& origin, bool is_local_storage) { + const WebKit::WebString& origin, const WebKit::WebURL& url, + bool is_local_storage) { // TODO(jorlow): Implement if (!is_local_storage) return; @@ -207,8 +208,8 @@ class TestShellWebKitInit : public webkit_glue::WebKitClientImpl { dom_storage_event_dispatcher_.reset( WebKit::WebStorageEventDispatcher::create()); } - dom_storage_event_dispatcher_->dispatchStorageEvent(key, old_value, - new_value, origin, is_local_storage); + dom_storage_event_dispatcher_->dispatchStorageEvent( + key, old_value, new_value, origin, url, is_local_storage); } virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( |