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

Issue 8662017: IndexedDB: Cursor pre-fetching. (Closed)

Created:
9 years ago by hans
Modified:
9 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke-watch+content_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

IndexedDB: Cursor pre-fetching. Add support for cursor pre-fetching. BUG=88651 TEST=browser_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112675

Patch Set 1 #

Patch Set 2 : Cleanup etc #

Patch Set 3 : Tighten the browser test a little #

Total comments: 23

Patch Set 4 : Fixes as per review comments #

Patch Set 5 : pass vectors by reference #

Total comments: 2

Patch Set 6 : fix indentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+710 lines, -2 lines) Patch
M chrome/test/data/indexeddb/common.js View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
A chrome/test/data/indexeddb/cursor_prefetch.html View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/indexeddb/cursor_prefetch.js View 1 2 3 1 chunk +394 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_browsertest.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_callbacks.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_callbacks.cc View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_dispatcher_host.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_dispatcher_host.cc View 1 2 3 2 chunks +28 lines, -0 lines 0 comments Download
M content/common/indexed_db_messages.h View 2 chunks +19 lines, -0 lines 0 comments Download
M content/renderer/indexed_db_dispatcher.h View 1 2 3 4 5 3 chunks +18 lines, -0 lines 0 comments Download
M content/renderer/indexed_db_dispatcher.cc View 1 2 3 4 5 21 chunks +67 lines, -0 lines 0 comments Download
M content/renderer/renderer_webidbcursor_impl.h View 1 2 chunks +31 lines, -0 lines 0 comments Download
M content/renderer/renderer_webidbcursor_impl.cc View 1 2 3 4 5 4 chunks +99 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
hans
This is not ready for landing, just uploading to get some early feedback. Please take ...
9 years ago (2011-11-23 18:16:59 UTC) #1
hans
This is ready for review now. The WebKit side has to go in first, then ...
9 years ago (2011-11-24 15:19:17 UTC) #2
jsbell
http://codereview.chromium.org/8662017/diff/5001/chrome/test/data/indexeddb/common.js File chrome/test/data/indexeddb/common.js (right): http://codereview.chromium.org/8662017/diff/5001/chrome/test/data/indexeddb/common.js#newcode9 chrome/test/data/indexeddb/common.js:9: span.innerHTML = message + '<br />'; We should go ...
9 years ago (2011-11-28 20:29:16 UTC) #3
dgrogan
http://codereview.chromium.org/8662017/diff/5001/content/renderer/renderer_webidbcursor_impl.cc File content/renderer/renderer_webidbcursor_impl.cc (right): http://codereview.chromium.org/8662017/diff/5001/content/renderer/renderer_webidbcursor_impl.cc#newcode110 content/renderer/renderer_webidbcursor_impl.cc:110: pending_onsuccess_callbacks_--; On 2011/11/28 20:29:16, jsbell wrote: > Add DCHECK ...
9 years ago (2011-11-29 09:08:12 UTC) #4
hans
Thanks very much for the review! New version coming up... http://codereview.chromium.org/8662017/diff/5001/chrome/test/data/indexeddb/common.js File chrome/test/data/indexeddb/common.js (right): http://codereview.chromium.org/8662017/diff/5001/chrome/test/data/indexeddb/common.js#newcode9 ...
9 years ago (2011-11-29 14:44:34 UTC) #5
dgrogan
As one of the folks who will be responsible to pick up the pieces if ...
9 years ago (2011-11-30 05:11:06 UTC) #6
hans
Thanks, David! Darin: OWNERS review for content/common and content/renderer?
9 years ago (2011-11-30 09:16:31 UTC) #7
darin (slow to review)
LGTM http://codereview.chromium.org/8662017/diff/17001/content/renderer/renderer_webidbcursor_impl.cc File content/renderer/renderer_webidbcursor_impl.cc (right): http://codereview.chromium.org/8662017/diff/17001/content/renderer/renderer_webidbcursor_impl.cc#newcode163 content/renderer/renderer_webidbcursor_impl.cc:163: continue_count_ = 0; nit: indentation is wrong
9 years ago (2011-11-30 20:51:55 UTC) #8
hans
9 years ago (2011-12-01 11:04:02 UTC) #9
Thanks very much everyone for looking!

This is now ready to go in once WebKit rolls.

http://codereview.chromium.org/8662017/diff/17001/content/renderer/renderer_w...
File content/renderer/renderer_webidbcursor_impl.cc (right):

http://codereview.chromium.org/8662017/diff/17001/content/renderer/renderer_w...
content/renderer/renderer_webidbcursor_impl.cc:163: continue_count_ = 0;
On 2011/11/30 20:51:55, darin wrote:
> nit: indentation is wrong

Done.

Powered by Google App Engine
This is Rietveld 408576698