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

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

Issue 10197001: IndexedDB: chromium side of IDBCursor.advance(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Additional key/value/primarykey for the current cursor Created 8 years, 8 months 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/common/indexed_db/indexed_db_dispatcher.h
diff --git a/content/common/indexed_db/indexed_db_dispatcher.h b/content/common/indexed_db/indexed_db_dispatcher.h
index bbaa19cf5841780d53b5a08cc41b4bf47d0762de..9bb38fc10293e76109d58114fadef091ea8e599f 100644
--- a/content/common/indexed_db/indexed_db_dispatcher.h
+++ b/content/common/indexed_db/indexed_db_dispatcher.h
@@ -23,6 +23,7 @@
class IndexedDBKey;
class IndexedDBKeyRange;
+struct IndexedDBMsg_CallbacksSuccessCursorAdvance_Params;
struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params;
struct IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params;
struct IndexedDBMsg_CallbacksSuccessIDBCursor_Params;
@@ -86,6 +87,12 @@ class CONTENT_EXPORT IndexedDBDispatcher
int32 idb_cursor_id,
WebKit::WebExceptionCode* ec);
+ void RequestIDBCursorAdvance(
+ unsigned long count,
+ WebKit::WebIDBCallbacks* callbacks_ptr,
+ int32 idb_cursor_id,
+ WebKit::WebExceptionCode* ec);
+
void RequestIDBCursorContinue(
const IndexedDBKey& key,
WebKit::WebIDBCallbacks* callbacks_ptr,
@@ -230,6 +237,8 @@ class CONTENT_EXPORT IndexedDBDispatcher
int32 object_id);
void OnSuccessOpenCursor(
const IndexedDBMsg_CallbacksSuccessIDBCursor_Params& p);
+ void OnSuccessCursorAdvance(
+ const IndexedDBMsg_CallbacksSuccessCursorAdvance_Params& p);
void OnSuccessCursorContinue(
const IndexedDBMsg_CallbacksSuccessCursorContinue_Params& p);
void OnSuccessCursorPrefetch(

Powered by Google App Engine
This is Rietveld 408576698