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

Unified Diff: storage/browser/quota/quota_callbacks.h

Issue 1221523003: Add a SiteEngagementEvictionPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get_total_engagement_points
Patch Set: Extract SiteEngagementScoreProvider interface Created 5 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
Index: storage/browser/quota/quota_callbacks.h
diff --git a/storage/browser/quota/quota_callbacks.h b/storage/browser/quota/quota_callbacks.h
index 298f2696cd05876da583d68519a0582b2e9bb925..d5d72ac329ba21bbd5d6ff387c270ca92deba3c7 100644
--- a/storage/browser/quota/quota_callbacks.h
+++ b/storage/browser/quota/quota_callbacks.h
@@ -31,6 +31,7 @@ typedef base::Callback<void(QuotaStatusCode)> StatusCallback;
typedef base::Callback<void(const std::set<GURL>& origins,
StorageType type)> GetOriginsCallback;
typedef base::Callback<void(const UsageInfoEntries&)> GetUsageInfoCallback;
+typedef base::Callback<void(const GURL&)> GetEvictionOriginCallback;
michaeln 2015/07/23 02:22:32 maybe make it completely generic GetOriginCallback
calamity 2015/07/28 01:07:59 Done.
// Simple template wrapper for a callback queue.
template <typename CallbackType, typename... Args>

Powered by Google App Engine
This is Rietveld 408576698