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 8df84074e25687f55ef7add17870f853f6d53bd3..564bcd78dc256c48be73f0c9e05cfc69d9d57311 100644 |
--- a/content/child/indexed_db/indexed_db_dispatcher.h |
+++ b/content/child/indexed_db/indexed_db_dispatcher.h |
@@ -98,9 +98,10 @@ class CONTENT_EXPORT IndexedDBDispatcher |
blink::WebIDBCallbacks* callbacks_ptr, |
int32 ipc_cursor_id); |
- void RequestIDBCursorPrefetchReset(int used_prefetches, |
- int unused_prefetches, |
- int32 ipc_cursor_id); |
+ // This method is virtual so it can be overridden in unit tests. |
+ virtual void RequestIDBCursorPrefetchReset(int used_prefetches, |
+ int unused_prefetches, |
+ int32 ipc_cursor_id); |
void RequestIDBDatabaseClose(int32 ipc_database_id, |
int32 ipc_database_callbacks_id); |