summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webstoragearea_impl.h
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-26 01:31:22 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-26 01:31:22 +0000
commit037c70024e20282ce23b5e6297bea87b795c8dec (patch)
tree392a714c4ad0a6aef027c52d000fce30d6f5c678 /chrome/renderer/renderer_webstoragearea_impl.h
parent4afa45dfbf11e9334e63aef002cd854ec86f6d44 (diff)
downloadchromium_src-037c70024e20282ce23b5e6297bea87b795c8dec.zip
chromium_src-037c70024e20282ce23b5e6297bea87b795c8dec.tar.gz
chromium_src-037c70024e20282ce23b5e6297bea87b795c8dec.tar.bz2
Handle storage events locally when possible.
TEST=none BUG=33108 Review URL: http://codereview.chromium.org/543168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webstoragearea_impl.h')
-rw-r--r--chrome/renderer/renderer_webstoragearea_impl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/renderer/renderer_webstoragearea_impl.h b/chrome/renderer/renderer_webstoragearea_impl.h
index 040c9db..5ce935f 100644
--- a/chrome/renderer/renderer_webstoragearea_impl.h
+++ b/chrome/renderer/renderer_webstoragearea_impl.h
@@ -22,10 +22,12 @@ class RendererWebStorageAreaImpl : public WebKit::WebStorageArea {
virtual WebKit::WebString getItem(const WebKit::WebString& key);
virtual void setItem(
const WebKit::WebString& key, const WebKit::WebString& value,
- const WebKit::WebURL& url, bool& quota_exception);
- virtual void removeItem(const WebKit::WebString& key,
- const WebKit::WebURL& url);
- virtual void clear(const WebKit::WebURL& url);
+ const WebKit::WebURL& url, bool& quota_exception,
+ WebKit::WebString& old_value);
+ virtual void removeItem(
+ const WebKit::WebString& key, const WebKit::WebURL& url,
+ WebKit::WebString& old_value);
+ virtual void clear(const WebKit::WebURL& url, bool& cleared_something);
private:
// The ID we use for all IPC.