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

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

Issue 2691423005: [IndexedDB] Transaction limitting (Closed)
Patch Set: Created 3 years, 10 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_transaction_coordinator.h
diff --git a/content/browser/indexed_db/indexed_db_transaction_coordinator.h b/content/browser/indexed_db/indexed_db_transaction_coordinator.h
index 357b464eaddcc86bcb96a5e17f65dd6f44126cec..8d7e885b112a6a876efbf76f72f5898c84fb3ff2 100644
--- a/content/browser/indexed_db/indexed_db_transaction_coordinator.h
+++ b/content/browser/indexed_db/indexed_db_transaction_coordinator.h
@@ -43,9 +43,12 @@ class CONTENT_EXPORT IndexedDBTransactionCoordinator {
private:
friend class IndexedDBTransactionCoordinatorTest;
+ void RecordMetrics() const;
+
void ProcessQueuedTransactions();
bool CanStartTransaction(IndexedDBTransaction* const transaction,
- const std::set<int64_t>& locked_scope) const;
+ const std::set<int64_t>& locked_scope,
+ size_t num_started_txns) const;
// Transactions in different states are grouped below.
// list_set is used to provide stable ordering; required by spec

Powered by Google App Engine
This is Rietveld 408576698