summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.h
diff options
context:
space:
mode:
authorsatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 11:14:39 +0000
committersatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 11:14:39 +0000
commit68c50e5a858c0ec0c06abebaef0fca939f76861d (patch)
treeccefd2c06ff694b78ff42d4ef2d9e2940ebc4fa7 /webkit/tools/test_shell/test_webview_delegate.h
parent380e8ec681277f2297e2b72b85b2bde8ddb9eabf (diff)
downloadchromium_src-68c50e5a858c0ec0c06abebaef0fca939f76861d.zip
chromium_src-68c50e5a858c0ec0c06abebaef0fca939f76861d.tar.gz
chromium_src-68c50e5a858c0ec0c06abebaef0fca939f76861d.tar.bz2
Pass quota parameter to WebStorageNamespace::createSessionStorageNamespace().
Put a per-origin quota on session storage since it is using memory in the browser process, and should not be allowed to grow arbitrarily large. Landing on behalf of hans@chromium.org from http://codereview.chromium.org/1998003/show BUG=42740 TEST=none Review URL: http://codereview.chromium.org/1995014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.h')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
index cdf0060..e2b36c77 100644
--- a/webkit/tools/test_shell/test_webview_delegate.h
+++ b/webkit/tools/test_shell/test_webview_delegate.h
@@ -84,7 +84,8 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
virtual WebKit::WebWidget* createPopupMenu(
const WebKit::WebPopupMenuInfo& info);
- virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
+ virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
+ unsigned quota);
virtual void didAddMessageToConsole(
const WebKit::WebConsoleMessage& message,
const WebKit::WebString& source_name, unsigned source_line);