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

Issue 1354543002: Exclude in-use origins from storage evictions for all QuotaEvictionPolicies. (Closed)

Created:
5 years, 3 months ago by calamity
Modified:
5 years, 2 months ago
Reviewers:
michaeln, raymes
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@hook_it_up_gooood
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Exclude in-use origins from storage evictions for all QuotaEvictionPolicies. This CL adds exceptions to the QuotaEvictionPolicy interface which are used to prevent in-use origins from being evicted and implements handling of origin exceptions in the SiteEngagementEvictionPolicy. BUG=464234 Committed: https://crrev.com/8216dbd75d4fe78a7bccdb4b46505f3468f902ce Cr-Commit-Position: refs/heads/master@{#355236}

Patch Set 1 : #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : address_comments #

Patch Set 5 : fix method order #

Patch Set 6 : rebase #

Patch Set 7 : rebase summore #

Total comments: 4

Patch Set 8 : address comment #

Messages

Total messages: 17 (6 generated)
calamity
5 years, 3 months ago (2015-09-21 05:53:52 UTC) #3
raymes
https://codereview.chromium.org/1354543002/diff/60001/chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc File chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc (right): https://codereview.chromium.org/1354543002/diff/60001/chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc#newcode160 chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc:160: GURL CalculateEvictionOrigin(const std::map<GURL, int64>& usage, nit: suggest renaming this ...
5 years, 3 months ago (2015-09-22 07:16:11 UTC) #4
calamity
https://codereview.chromium.org/1354543002/diff/60001/chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc File chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc (right): https://codereview.chromium.org/1354543002/diff/60001/chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc#newcode160 chrome/browser/engagement/site_engagement_eviction_policy_unittest.cc:160: GURL CalculateEvictionOrigin(const std::map<GURL, int64>& usage, On 2015/09/22 07:16:10, raymes ...
5 years, 3 months ago (2015-09-23 01:55:22 UTC) #5
raymes
Your changes lgtm. Perhaps the storage folks will have comments on the above.
5 years, 3 months ago (2015-09-23 02:27:51 UTC) #6
calamity
+michaeln for storage/ OWNERS
5 years, 3 months ago (2015-09-23 02:38:06 UTC) #8
calamity
Rebased this on top of the sweeping changes to the QuotaManager patchset. PTAL.
5 years, 2 months ago (2015-10-19 06:40:53 UTC) #10
michaeln
lgtm https://codereview.chromium.org/1354543002/diff/160001/chrome/browser/engagement/site_engagement_eviction_policy.cc File chrome/browser/engagement/site_engagement_eviction_policy.cc (right): https://codereview.chromium.org/1354543002/diff/160001/chrome/browser/engagement/site_engagement_eviction_policy.cc#newcode62 chrome/browser/engagement/site_engagement_eviction_policy.cc:62: if (overuse > max_overuse && exceptions.count(origin) == 0) ...
5 years, 2 months ago (2015-10-21 00:56:13 UTC) #11
calamity
https://codereview.chromium.org/1354543002/diff/160001/chrome/browser/engagement/site_engagement_eviction_policy.cc File chrome/browser/engagement/site_engagement_eviction_policy.cc (right): https://codereview.chromium.org/1354543002/diff/160001/chrome/browser/engagement/site_engagement_eviction_policy.cc#newcode62 chrome/browser/engagement/site_engagement_eviction_policy.cc:62: if (overuse > max_overuse && exceptions.count(origin) == 0) { ...
5 years, 2 months ago (2015-10-21 04:27:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354543002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354543002/180001
5 years, 2 months ago (2015-10-21 04:27:28 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:180001)
5 years, 2 months ago (2015-10-21 04:42:54 UTC) #16
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 04:43:54 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8216dbd75d4fe78a7bccdb4b46505f3468f902ce
Cr-Commit-Position: refs/heads/master@{#355236}

Powered by Google App Engine
This is Rietveld 408576698