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

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

Issue 237143006: Make iterating over a corrupted IndexedDB fail. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added Status checks. Created 6 years, 8 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 d6d1d795fbf2384a6dbe45716a5190a97416132e..4c1ec0c540439ebafa2b632b62f71488e11a7603 100644
--- a/content/browser/indexed_db/indexed_db_cursor.h
+++ b/content/browser/indexed_db/indexed_db_cursor.h
@@ -32,7 +32,7 @@ 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(); }

Powered by Google App Engine
This is Rietveld 408576698