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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1363523003: Enable SiteEngagementEvictionPolicy behind --enable-site-eviction-policy flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lru_policy_gooood
Patch Set: Created 5 years, 3 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 2c6734cf1f7c073f8180a46bb76201434db02647..4cd99f3f9006d581bb6eda509ad89f0b05985159 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -79,6 +79,7 @@ class SelectFilePolicy;
namespace storage {
class ExternalMountPoints;
class FileSystemBackend;
+class QuotaManager;
}
namespace content {
@@ -425,6 +426,12 @@ class CONTENT_EXPORT ContentBrowserClient {
// Create and return a new quota permission context.
virtual QuotaPermissionContext* CreateQuotaPermissionContext();
+ // Gives the embedder a chance to register a custom QuotaEvictionPolicy for a
+ // storage type.
+ virtual void AddQuotaEvictionPolicies(content::BrowserContext* context,
raymes 2015/09/24 01:55:30 It's a bit unfortunate that we need to add a new c
+ storage::QuotaManager* quota_manager) {}
+
+
// Informs the embedder that a certificate error has occured. If
// |overridable| is true and if |strict_enforcement| is false, the user
// can ignore the error and continue. The embedder can call the callback
« chrome/common/chrome_switches.cc ('K') | « content/browser/storage_partition_impl_map.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698