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

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

Issue 2506773002: [IndexedDB] Integrating failures and corruption with transaction (Closed)
Patch Set: removed extra log statements Created 4 years, 1 month 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..72852f6651babe842faa4c26666725afe74b65b2 100644
--- a/content/browser/indexed_db/indexed_db_cursor.h
+++ b/content/browser/indexed_db/indexed_db_cursor.h
@@ -14,13 +14,12 @@
#include "base/memory/ref_counted.h"
#include "content/browser/indexed_db/indexed_db_backing_store.h"
#include "content/browser/indexed_db/indexed_db_database.h"
+#include "content/browser/indexed_db/indexed_db_transaction.h"
#include "content/common/indexed_db/indexed_db_key_range.h"
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
namespace content {
-class IndexedDBTransaction;
-
class CONTENT_EXPORT IndexedDBCursor
: NON_EXPORTED_BASE(public base::RefCounted<IndexedDBCursor>) {
public:
@@ -45,14 +44,16 @@ class CONTENT_EXPORT IndexedDBCursor
}
void Close();
- 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(
+ leveldb::Status CursorIterationOperation(
+ std::unique_ptr<IndexedDBKey> key,
+ std::unique_ptr<IndexedDBKey> primary_key,
+ scoped_refptr<IndexedDBCallbacks> callbacks,
+ IndexedDBTransaction* transaction);
+ leveldb::Status CursorAdvanceOperation(
+ uint32_t count,
+ scoped_refptr<IndexedDBCallbacks> callbacks,
+ IndexedDBTransaction* transaction);
+ leveldb::Status CursorPrefetchIterationOperation(
int number_to_fetch,
scoped_refptr<IndexedDBCallbacks> callbacks,
IndexedDBTransaction* transaction);
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.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