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

Unified Diff: content/child/indexed_db/indexed_db_dispatcher.h

Issue 104663007: IndexedDB: Optimize IDBCursor.advance() if it occurs within prefetched range (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit test Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/indexed_db/indexed_db_dispatcher.h
diff --git a/content/child/indexed_db/indexed_db_dispatcher.h b/content/child/indexed_db/indexed_db_dispatcher.h
index a9f365308209fe102b696a3f8d68341cc0bee524..0daaee0e7a691b64bd6c958a0b24d4115965c89b 100644
--- a/content/child/indexed_db/indexed_db_dispatcher.h
+++ b/content/child/indexed_db/indexed_db_dispatcher.h
@@ -82,9 +82,9 @@ class CONTENT_EXPORT IndexedDBDispatcher
blink::WebIDBCallbacks* callbacks,
const std::string& database_identifier);
- void RequestIDBCursorAdvance(unsigned long count,
- blink::WebIDBCallbacks* callbacks_ptr,
- int32 ipc_cursor_id);
+ virtual void RequestIDBCursorAdvance(unsigned long count,
+ blink::WebIDBCallbacks* callbacks_ptr,
+ int32 ipc_cursor_id);
virtual void RequestIDBCursorContinue(const IndexedDBKey& key,
const IndexedDBKey& primary_key,
« no previous file with comments | « no previous file | content/child/indexed_db/proxy_webidbcursor_impl.h » ('j') | content/child/indexed_db/proxy_webidbcursor_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698