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

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

Issue 2148253003: IndexedDB: Implement explicit queue for IDBOpenDBRequests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use pending member, other review nits Created 4 years, 5 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 | content/browser/indexed_db/indexed_db_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_context_impl.cc
diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
index b04022ae145f186a1ee7b621c60638db60cfe57f..df01e56da2ec2bc985effc8401bb6f90316b07e7 100644
--- a/content/browser/indexed_db/indexed_db_context_impl.cc
+++ b/content/browser/indexed_db/indexed_db_context_impl.cc
@@ -199,13 +199,9 @@ base::ListValue* IndexedDBContextImpl::GetAllOriginsDetails() {
new base::DictionaryValue());
db_info->SetString("name", db->name());
- db_info->SetDouble("pending_opens", db->PendingOpenCount());
- db_info->SetDouble("pending_upgrades", db->PendingUpgradeCount());
- db_info->SetDouble("running_upgrades", db->RunningUpgradeCount());
- db_info->SetDouble("pending_deletes", db->PendingDeleteCount());
- db_info->SetDouble("connection_count",
- db->ConnectionCount() - db->PendingUpgradeCount() -
- db->RunningUpgradeCount());
+ db_info->SetDouble("connection_count", db->ConnectionCount());
+ db_info->SetDouble("active_open_delete", db->ActiveOpenDeleteCount());
+ db_info->SetDouble("pending_open_delete", db->PendingOpenDeleteCount());
std::unique_ptr<base::ListValue> transaction_list(
new base::ListValue());
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698