[Webkit-unassigned] [Bug 25376] Refactor localStorage code for use in multi-process browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 3 17:48:45 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25376





------- Comment #2 from jorlow at chromium.org  2009-06-03 17:48 PDT -------
Created an attachment (id=30936)
 --> (https://bugs.webkit.org/attachment.cgi?id=30936&action=view)
The first patch.

In preparation for combining SessionStorage and LocalStorage into a single
StorageManager, move the syncing bits out of LocalStorage and into its own
class.

The next step is to combine LocalStorageArea and SessionStorageArea into one. 
Then SessionStorage and LocalStorage can be combined.

Note that combining them will cut down on code paths that must be proxied,
eliminate virtual dispatch, and allow Chromium to (eventually) write historical
sessionStorage to disk when memory is getting tight.

Also remove a couple bits of cruft including code for quotas which is
unnecessary (since a meta-data db is unnecessary since you can just count bytes
as you read the local storage databases into memory).


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list