diff options
Diffstat (limited to 'chromium/content/browser/indexed_db/indexed_db_cursor.h')
-rw-r--r-- | chromium/content/browser/indexed_db/indexed_db_cursor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/content/browser/indexed_db/indexed_db_cursor.h b/chromium/content/browser/indexed_db/indexed_db_cursor.h index f1afc186a78..7c1491aff7f 100644 --- a/chromium/content/browser/indexed_db/indexed_db_cursor.h +++ b/chromium/content/browser/indexed_db/indexed_db_cursor.h @@ -32,11 +32,11 @@ class CONTENT_EXPORT IndexedDBCursor scoped_refptr<IndexedDBCallbacks> callbacks); void PrefetchContinue(int number_to_fetch, scoped_refptr<IndexedDBCallbacks> callbacks); - void PrefetchReset(int used_prefetches, int unused_prefetches); + leveldb::Status PrefetchReset(int used_prefetches, int unused_prefetches); const IndexedDBKey& key() const { return cursor_->key(); } const IndexedDBKey& primary_key() const { return cursor_->primary_key(); } - std::string* Value() const { + IndexedDBValue* Value() const { return (cursor_type_ == indexed_db::CURSOR_KEY_ONLY) ? NULL : cursor_->value(); } @@ -69,6 +69,8 @@ class CONTENT_EXPORT IndexedDBCursor scoped_ptr<IndexedDBBackingStore::Cursor> saved_cursor_; bool closed_; + + DISALLOW_COPY_AND_ASSIGN(IndexedDBCursor); }; } // namespace content |