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

Issue 255050: Quota support. (Closed)

Created:
11 years, 2 months ago by jorlow
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, jam, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Add quota support. Add a 5mb quota to DOM Storage. Most of the details are in an upstream patch (https://bugs.webkit.org/show_bug.cgi?id=29991 ). BUG=16876 TEST=I added a layout test upstream and it works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27942

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 9

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -45 lines) Patch
M chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/in_process_webkit/storage_namespace.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/in_process_webkit/storage_namespace.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/renderer/renderer_webkitclient_impl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/renderer_webkitclient_impl.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/renderer/renderer_webstoragearea_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/worker/worker_webkitclient_impl.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/worker/worker_webkitclient_impl.cc View 1 2 3 1 chunk +0 lines, -13 lines 0 comments Download
M webkit/api/public/WebKitClient.h View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M webkit/api/public/WebStorageNamespace.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M webkit/api/src/StorageNamespaceProxy.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/api/src/WebStorageNamespaceImpl.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/glue/webkitclient_impl.h View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M webkit/glue/webkitclient_impl.cc View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jorlow
11 years, 2 months ago (2009-10-02 00:46:42 UTC) #1
michaeln
thnx for the link to the webkit side... (Ja, I see It!)
11 years, 2 months ago (2009-10-02 01:11:32 UTC) #2
darin (slow to review)
http://codereview.chromium.org/255050/diff/4001/5004 File webkit/api/public/WebStorageNamespace.h (right): http://codereview.chromium.org/255050/diff/4001/5004#newcode52 Line 52: static const unsigned kNoQuota = UINT_MAX; nit: noQuota ...
11 years, 2 months ago (2009-10-02 02:59:27 UTC) #3
michaeln
http://codereview.chromium.org/255050/diff/4001/5011 File chrome/browser/in_process_webkit/storage_namespace.h (right): http://codereview.chromium.org/255050/diff/4001/5011#newcode58 Line 58: // The quota for each storage area. Suggested ...
11 years, 2 months ago (2009-10-02 07:43:08 UTC) #4
jorlow
Oh...forgot to send this out... Michael: this is why I was talking as if I ...
11 years, 2 months ago (2009-10-02 22:30:41 UTC) #5
jorlow
Posted a new version. The upstream half is landed btw.
11 years, 2 months ago (2009-10-02 23:05:08 UTC) #6
michaeln
11 years, 2 months ago (2009-10-02 23:35:24 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698