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

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

Issue 281623004: Revert 270016 "Add most of the metadata-handling code for blobs...." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 270037)
+++ trunk/src/content/browser/indexed_db/indexed_db_backing_store.h (working copy)
@@ -308,9 +308,7 @@
virtual bool LoadCurrentRow() = 0;
protected:
- Cursor(scoped_refptr<IndexedDBBackingStore> backing_store,
- Transaction* transaction,
- int64 database_id,
+ Cursor(LevelDBTransaction* transaction,
const CursorOptions& cursor_options);
explicit Cursor(const IndexedDBBackingStore::Cursor* other);
@@ -321,9 +319,7 @@
bool IsPastBounds() const;
bool HaveEnteredRange() const;
- IndexedDBBackingStore* backing_store_;
- Transaction* transaction_;
- int64 database_id_;
+ LevelDBTransaction* transaction_;
const CursorOptions cursor_options_;
scoped_ptr<LevelDBIterator> iterator_;
scoped_ptr<IndexedDBKey> current_key_;
@@ -403,11 +399,6 @@
LevelDBTransaction* transaction() { return transaction_; }
- leveldb::Status GetBlobInfoForRecord(
- int64 database_id,
- const std::string& object_store_data_key,
- IndexedDBValue* value);
-
// This holds a BlobEntryKey and the encoded IndexedDBBlobInfo vector stored
// under that key.
typedef std::vector<std::pair<BlobEntryKey, std::string> >
@@ -484,8 +475,6 @@
bool is_incognito() const { return !indexed_db_factory_; }
- bool SetUpMetadata();
-
virtual bool WriteBlobFile(
int64 database_id,
const Transaction::WriteDescriptor& descriptor,
« 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