| 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 5baf565ec2683d02d186248e2eb3c47aeb954e18..8df84074e25687f55ef7add17870f853f6d53bd3 100644
|
| --- a/content/child/indexed_db/indexed_db_dispatcher.h
|
| +++ b/content/child/indexed_db/indexed_db_dispatcher.h
|
| @@ -82,15 +82,18 @@ 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);
|
| + // This method is virtual so it can be overridden in unit tests.
|
| + virtual void RequestIDBCursorAdvance(unsigned long count,
|
| + blink::WebIDBCallbacks* callbacks_ptr,
|
| + int32 ipc_cursor_id);
|
|
|
| + // This method is virtual so it can be overridden in unit tests.
|
| virtual void RequestIDBCursorContinue(const IndexedDBKey& key,
|
| const IndexedDBKey& primary_key,
|
| blink::WebIDBCallbacks* callbacks_ptr,
|
| int32 ipc_cursor_id);
|
|
|
| + // This method is virtual so it can be overridden in unit tests.
|
| virtual void RequestIDBCursorPrefetch(int n,
|
| blink::WebIDBCallbacks* callbacks_ptr,
|
| int32 ipc_cursor_id);
|
|
|