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

Unified Diff: content/browser/indexed_db/indexed_db_cursor.h

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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/browser/indexed_db/indexed_db_cursor.h
diff --git a/content/browser/indexed_db/indexed_db_cursor.h b/content/browser/indexed_db/indexed_db_cursor.h
index 63cb7967afaf4c67a0c8d333b55fea722223fecc..be73f783b901ee7490f34b0a819fd472ea7cb808 100644
--- a/content/browser/indexed_db/indexed_db_cursor.h
+++ b/content/browser/indexed_db/indexed_db_cursor.h
@@ -29,12 +29,10 @@ class CONTENT_EXPORT IndexedDBCursor
blink::WebIDBTaskType task_type,
IndexedDBTransaction* transaction);
- void Advance(uint32_t count, scoped_refptr<IndexedDBCallbacks> callbacks);
+ void Advance(uint32_t count);
void Continue(std::unique_ptr<IndexedDBKey> key,
- std::unique_ptr<IndexedDBKey> primary_key,
- scoped_refptr<IndexedDBCallbacks> callbacks);
- void PrefetchContinue(int number_to_fetch,
- scoped_refptr<IndexedDBCallbacks> callbacks);
+ std::unique_ptr<IndexedDBKey> primary_key);
+ void PrefetchContinue(int number_to_fetch);
leveldb::Status PrefetchReset(int used_prefetches, int unused_prefetches);
const IndexedDBKey& key() const { return cursor_->key(); }
@@ -47,14 +45,11 @@ class CONTENT_EXPORT IndexedDBCursor
void CursorIterationOperation(std::unique_ptr<IndexedDBKey> key,
std::unique_ptr<IndexedDBKey> primary_key,
- scoped_refptr<IndexedDBCallbacks> callbacks,
IndexedDBTransaction* transaction);
void CursorAdvanceOperation(uint32_t count,
- scoped_refptr<IndexedDBCallbacks> callbacks,
IndexedDBTransaction* transaction);
void CursorPrefetchIterationOperation(
int number_to_fetch,
- scoped_refptr<IndexedDBCallbacks> callbacks,
IndexedDBTransaction* transaction);
private:
« no previous file with comments | « content/browser/indexed_db/indexed_db_context_impl.cc ('k') | content/browser/indexed_db/indexed_db_cursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698