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

Unified Diff: chrome/browser/engagement/site_engagement_eviction_policy.h

Issue 1354543002: Exclude in-use origins from storage evictions for all QuotaEvictionPolicies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hook_it_up_gooood
Patch Set: address comment Created 5 years, 2 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 | chrome/browser/engagement/site_engagement_eviction_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/engagement/site_engagement_eviction_policy.h
diff --git a/chrome/browser/engagement/site_engagement_eviction_policy.h b/chrome/browser/engagement/site_engagement_eviction_policy.h
index 60c876830b2784e4e1654bc73808b8e351307c1a..ae78603e35828d92608ec30aa1a0145b49e75765 100644
--- a/chrome/browser/engagement/site_engagement_eviction_policy.h
+++ b/chrome/browser/engagement/site_engagement_eviction_policy.h
@@ -28,6 +28,7 @@ class SiteEngagementEvictionPolicy : public storage::QuotaEvictionPolicy {
// Overridden from storage::QuotaEvictionPolicy:
void GetEvictionOrigin(const scoped_refptr<storage::SpecialStoragePolicy>&
special_storage_policy,
+ const std::set<GURL>& exceptions,
const std::map<GURL, int64>& usage_map,
int64 global_quota,
const storage::GetOriginCallback& callback) override;
@@ -39,6 +40,7 @@ class SiteEngagementEvictionPolicy : public storage::QuotaEvictionPolicy {
const scoped_refptr<storage::SpecialStoragePolicy>&
special_storage_policy,
SiteEngagementScoreProvider* score_provider,
+ const std::set<GURL>& exceptions,
const std::map<GURL, int64>& usage_map,
int64 global_quota);
« no previous file with comments | « no previous file | chrome/browser/engagement/site_engagement_eviction_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698