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

Unified Diff: trunk/src/content/browser/indexed_db/indexed_db_backing_store.h

Issue 216433007: Revert 260147 "Handling LevelDB errors encountered after open." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | trunk/src/content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/browser/indexed_db/indexed_db_backing_store.h
===================================================================
--- trunk/src/content/browser/indexed_db/indexed_db_backing_store.h (revision 260206)
+++ trunk/src/content/browser/indexed_db/indexed_db_backing_store.h (working copy)
@@ -27,7 +27,6 @@
namespace content {
-class IndexedDBDatabaseError;
class LevelDBComparator;
class LevelDBDatabase;
struct IndexedDBValue;
@@ -79,7 +78,6 @@
const GURL& origin_url,
LevelDBFactory* factory);
- virtual void Compact();
virtual std::vector<base::string16> GetDatabaseNames();
virtual leveldb::Status GetIDBDatabaseMetaData(
const base::string16& name,
@@ -96,12 +94,6 @@
int64 int_version);
virtual leveldb::Status DeleteDatabase(const base::string16& name);
- // Assumes caller has already closed the backing store.
- static leveldb::Status DestroyBackingStore(const base::FilePath& path_base,
- const GURL& origin_url);
- static bool RecordCorruptionInfo(const base::FilePath& path_base,
- const GURL& origin_url,
- const std::string& message);
leveldb::Status GetObjectStores(
int64 database_id,
IndexedDBDatabaseMetadata::ObjectStoreMap* map) WARN_UNUSED_RESULT;
@@ -333,9 +325,6 @@
const GURL& origin_url,
scoped_ptr<LevelDBDatabase> db,
scoped_ptr<LevelDBComparator> comparator);
- static bool ReadCorruptionInfo(const base::FilePath& path_base,
- const GURL& origin_url,
- std::string& message);
leveldb::Status FindKeyInIndex(
IndexedDBBackingStore::Transaction* transaction,
« no previous file with comments | « no previous file | trunk/src/content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698