| 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 6e0807c7d1cb018aa99feef4807d88e58adf4255..2cf9d4f3eccf2bba1ff940b433f85c0a2f471167 100644
|
| --- a/content/browser/indexed_db/indexed_db_cursor.h
|
| +++ b/content/browser/indexed_db/indexed_db_cursor.h
|
| @@ -21,26 +21,11 @@ class IndexedDBTransaction;
|
| class CONTENT_EXPORT IndexedDBCursor
|
| : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBCursor>) {
|
| public:
|
| - static scoped_refptr<IndexedDBCursor> Create(
|
| - scoped_ptr<IndexedDBBackingStore::Cursor> cursor,
|
| - indexed_db::CursorType cursor_type,
|
| - IndexedDBTransaction* transaction) {
|
| - return make_scoped_refptr(
|
| - new IndexedDBCursor(cursor.Pass(),
|
| - cursor_type,
|
| - IndexedDBDatabase::NORMAL_TASK,
|
| - transaction));
|
| - }
|
| - static scoped_refptr<IndexedDBCursor> Create(
|
| - scoped_ptr<IndexedDBBackingStore::Cursor> cursor,
|
| - indexed_db::CursorType cursor_type,
|
| - IndexedDBDatabase::TaskType task_type,
|
| - IndexedDBTransaction* transaction) {
|
| - return make_scoped_refptr(new IndexedDBCursor(
|
| - cursor.Pass(), cursor_type, task_type, transaction));
|
| - }
|
| + IndexedDBCursor(scoped_ptr<IndexedDBBackingStore::Cursor> cursor,
|
| + indexed_db::CursorType cursor_type,
|
| + IndexedDBDatabase::TaskType task_type,
|
| + IndexedDBTransaction* transaction);
|
|
|
| - // IndexedDBCursor
|
| void Advance(uint32 count, scoped_refptr<IndexedDBCallbacks> callbacks);
|
| void Continue(scoped_ptr<IndexedDBKey> key,
|
| scoped_refptr<IndexedDBCallbacks> callbacks);
|
| @@ -59,10 +44,6 @@ class CONTENT_EXPORT IndexedDBCursor
|
| private:
|
| friend class base::RefCounted<IndexedDBCursor>;
|
|
|
| - IndexedDBCursor(scoped_ptr<IndexedDBBackingStore::Cursor> cursor,
|
| - indexed_db::CursorType cursor_type,
|
| - IndexedDBDatabase::TaskType task_type,
|
| - IndexedDBTransaction* transaction);
|
| ~IndexedDBCursor();
|
|
|
| class CursorIterationOperation;
|
|
|