summaryrefslogtreecommitdiffstats
path: root/content/renderer/renderer_webidbcursor_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* Move indexeddb code to its own directory inside of ↵dgrogan@chromium.org2011-12-201-75/+0
| | | | | | | | | | | | content/{browser,common,renderer} BUG=105949 TEST= Review URL: http://codereview.chromium.org/8980002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115195 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes to new header locationsabarth@chromium.org2011-12-031-1/+1
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/8788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112825 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Cursor pre-fetching.hans@chromium.org2011-12-021-0/+31
| | | | | | | | | | | Add support for cursor pre-fetching. BUG=88651 TEST=browser_tests Review URL: http://codereview.chromium.org/8662017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112675 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Recycle curosr objects when calling continue().hans@chromium.org2011-11-051-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | This is the Chromium side of https://bugs.webkit.org/show_bug.cgi?id=71115 Instead of creating a new IDBCursor wrapper each time continue() is called, we should instead send back a new onSuccessCursorContinue() callback, and the IDBRequest will know which cursor to return. This patch implements the new callback. For performance, we piggy-pick the cursor's current key, primary key and value with the callback. To be able to do this, the IndexedDBDispatcherHost must keep track of which cursor corresponds to which pending callback. The IndexedDBDispatcher keeps the key, primary key and value cached for each cursor. BUG=98685 TEST=all current tests pass Review URL: http://codereview.chromium.org/8400061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108788 0039d316-1c4b-4281-b951-d872f2087c98
* Move SerializedScriptValue to content/public/common and put it into the ↵jam@chromium.org2011-10-211-3/+3
| | | | | | | | | content namespace. BUG=98716 Review URL: http://codereview.chromium.org/8372009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106781 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate key, primary key, value cursor messages.dgrogan@chromium.org2011-10-121-1/+6
| | | | | | | | | | | | | | | | When opening or advancing a cursor, send key, primary key, and value to the renderer in the cursor open message. Remove separate messages that retrieve them synchronously. This improves the readSeq benchmark by ~65%. This is the chrome side patch. It potentially needs the webkit patch at https://bugs.webkit.org/show_bug.cgi?id=69131 to go in first. BUG= TEST=new-run-webkit-tests --debug --chromium storage/indexeddb; loaded each cursor test into chrome manually Review URL: http://codereview.chromium.org/7834006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105019 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB API cleanup.adamk@chromium.org2011-08-221-5/+4
| | | | | | | | | | | | Fix Chromium impls and calls to WebIDB* interfaces to match current WebKit implementation. No change in behavior, just fewer wrapped function calls. R=dgrogan@chromium.org,darin@chromium.org Review URL: http://codereview.chromium.org/7692006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97687 0039d316-1c4b-4281-b951-d872f2087c98
* Move the renderer_web* files to content.jam@chromium.org2011-03-181-0/+39
TBR=avi Review URL: http://codereview.chromium.org/6713024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78643 0039d316-1c4b-4281-b951-d872f2087c98