Description[Quota] Wire up limited origin usage retrieving.
This CL implements UsageTracker::GetGlobalLimitedUsage without gathering usages for all origins.
Using cache-disabled temporary unlimited storage will no longer hurt performance for other origins, after the change.
The CL also fixes usage calculation: the usages of cache-disabled limited origins will be counted as limited storage,
though it was counted as unlimited, previously.
BUG=220029
TEST=UsageTrackerTest.LimitedGlobalUsageTest
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203125
Patch Set 1 #Patch Set 2 : +test #Patch Set 3 : stop spicial handilng for temporary fs #Patch Set 4 : drop unneeded DCHECK #Patch Set 5 : fix test expectation #
Total comments: 1
Patch Set 6 : rebase #Patch Set 7 : test expectation fix #
Messages
Total messages: 11 (0 generated)
|