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

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

Issue 16337010: Remove IDBCursorBackendInterface::deleteFunction (part 2/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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_impl.h
diff --git a/content/browser/indexed_db/indexed_db_cursor_impl.h b/content/browser/indexed_db/indexed_db_cursor_impl.h
index 8b79d27052dab4b241c2db263c6edfff8eadff75..9c6e354ecb36a1d8a29b0da43f13a9ce1ebf7c46 100644
--- a/content/browser/indexed_db/indexed_db_cursor_impl.h
+++ b/content/browser/indexed_db/indexed_db_cursor_impl.h
@@ -25,23 +25,20 @@ class IndexedDBCursorImpl : public IndexedDBCursor {
static scoped_refptr<IndexedDBCursorImpl> Create(
scoped_ptr<IndexedDBBackingStore::Cursor> cursor,
indexed_db::CursorType cursor_type,
- IndexedDBTransaction* transaction,
- int64 object_store_id) {
jsbell 2013/06/03 17:52:27 Surprisingly, this is now unused - the backing sto
+ IndexedDBTransaction* transaction) {
return make_scoped_refptr(
new IndexedDBCursorImpl(cursor.Pass(),
cursor_type,
IndexedDBDatabase::NORMAL_TASK,
- transaction,
- object_store_id));
+ transaction));
}
static scoped_refptr<IndexedDBCursorImpl> Create(
scoped_ptr<IndexedDBBackingStore::Cursor> cursor,
indexed_db::CursorType cursor_type,
IndexedDBDatabase::TaskType task_type,
- IndexedDBTransaction* transaction,
- int64 object_store_id) {
+ IndexedDBTransaction* transaction) {
return make_scoped_refptr(new IndexedDBCursorImpl(
- cursor.Pass(), cursor_type, task_type, transaction, object_store_id));
+ cursor.Pass(), cursor_type, task_type, transaction));
}
// IndexedDBCursor
@@ -51,8 +48,6 @@ class IndexedDBCursorImpl : public IndexedDBCursor {
virtual void ContinueFunction(
scoped_ptr<IndexedDBKey> key,
scoped_refptr<IndexedDBCallbacksWrapper> callbacks) OVERRIDE;
- virtual void DeleteFunction(
- scoped_refptr<IndexedDBCallbacksWrapper> callbacks) OVERRIDE;
virtual void PrefetchContinue(
int number_to_fetch,
scoped_refptr<IndexedDBCallbacksWrapper> callbacks) OVERRIDE;
@@ -72,8 +67,7 @@ class IndexedDBCursorImpl : public IndexedDBCursor {
IndexedDBCursorImpl(scoped_ptr<IndexedDBBackingStore::Cursor> cursor,
indexed_db::CursorType cursor_type,
IndexedDBDatabase::TaskType task_type,
- IndexedDBTransaction* transaction,
- int64 object_store_id);
+ IndexedDBTransaction* transaction);
virtual ~IndexedDBCursorImpl();
class CursorIterationOperation;
@@ -83,7 +77,6 @@ class IndexedDBCursorImpl : public IndexedDBCursor {
IndexedDBDatabase::TaskType task_type_;
indexed_db::CursorType cursor_type_;
const scoped_refptr<IndexedDBTransaction> transaction_;
- const int64 object_store_id_;
// Must be destroyed before transaction_.
scoped_ptr<IndexedDBBackingStore::Cursor> cursor_;

Powered by Google App Engine
This is Rietveld 408576698