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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.cc

Issue 2904603003: [IndexedDB] Adding txn, value, and key size metrics (Closed)
Patch Set: made sure size is 0'd out Created 3 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
Index: content/browser/indexed_db/indexed_db_backing_store.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc
index 77116628d629827532382a237634a1ef30e4fc36..64d229150e7ce0715018849ad99bee48db13372a 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc
@@ -4364,6 +4364,11 @@ void IndexedDBBackingStore::Transaction::Rollback() {
transaction_ = NULL;
}
+uint64_t IndexedDBBackingStore::Transaction::GetTransactionSize() {
+ DCHECK(transaction_);
+ return transaction_->GetTransactionSize();
+}
+
IndexedDBBackingStore::BlobChangeRecord::BlobChangeRecord(
const std::string& key,
int64_t object_store_id)
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.h ('k') | content/browser/indexed_db/indexed_db_fake_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698