summaryrefslogtreecommitdiffstats
path: root/webkit/dom_storage
Commit message (Collapse)AuthorAgeFilesLines
* Hook up DomStorageArea with a DomStorageDatabase. Uses DomStorageTaskRunner ↵benm@chromium.org2012-02-278-35/+290
| | | | | | | | | | | to asynchronously write to the database. BUG=106763 Review URL: http://codereview.chromium.org/9389009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123744 0039d316-1c4b-4281-b951-d872f2087c98
* Track DomStorageMap usage and enforce a quota on byte size.benm@chromium.org2012-02-225-20/+116
| | | | | | | | | BUG=106763 Review URL: http://codereview.chromium.org/9361062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123046 0039d316-1c4b-4281-b951-d872f2087c98
* Enable DomStorageDatabaseTest.TestCanOpenAndReadWebCoreDatabase.benm@chromium.org2012-02-201-3/+1
| | | | | | | | | | | | Now that the test data landed in r122502, enable the test that uses it. BUG=106763 Review URL: http://codereview.chromium.org/9413042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122746 0039d316-1c4b-4281-b951-d872f2087c98
* Create a class to represent a Dom Storage Database.benm@chromium.org2012-02-104-0/+704
| | | | | | | | | | | | | Add a class that can read/write a local storage database in the same format as WebCore's StorageArea. Also add a method to sql::Statement to query the declared type of a column and a method to return a string16 from a Blob. BUG=106763 Review URL: http://codereview.chromium.org/9159020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121442 0039d316-1c4b-4281-b951-d872f2087c98
* Keep track of the last key returned.benm@chromium.org2012-02-103-12/+38
| | | | | | | | | | | | | Be smarter in the DomStorageMap::Key() function by keeping track of the index we returned last so we don't need to walk the map each time it gets called, and add const to DomStorageMap methods as appropriate. BUG=106763 Review URL: http://codereview.chromium.org/9369025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121432 0039d316-1c4b-4281-b951-d872f2087c98
* Framing for a DomStorage backend that does not depend on in-process-webkit. ↵michaeln@google.com2012-02-0719-0/+1280
Only partial unittests coverage in this CL, more to come. These classes aren't used yet. Classes intended to be used by an embedder are DomStorageContext,DomStorageHost, and DomStorageSession. The other classes are for internal consumption. In general terms, the DomStorage object relationships are... * Contexts (per-profile) own Namespaces which own Areas which share Maps. * Hosts(per-renderer) refer to Namespaces and Areas open in it's renderer. * Sessions (per-tab) cause the creation and deletion of session Namespaces. Session Namespaces are cloned by initially making a shallow copy of all contained Areas, the shallow copies refer to the same refcounted Map, and does a deep copy-on-write if needed. BUG=106763 Review URL: https://chromiumcodereview.appspot.com/9146025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120687 0039d316-1c4b-4281-b951-d872f2087c98