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

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: fix flag dependencies 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 | « content/browser/storage_partition_impl_map.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7213c7b3fbd479893fef88109f3fd703dc7e42e7..29899f9a3f7688c22ed1129c7bb4276cfae87ed1 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -80,6 +80,7 @@ class SelectFilePolicy;
namespace storage {
class ExternalMountPoints;
class FileSystemBackend;
+class QuotaEvictionPolicy;
}
namespace content {
@@ -445,6 +446,11 @@ 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
+ // temporary storage.
+ virtual scoped_ptr<storage::QuotaEvictionPolicy>
+ GetTemporaryStorageEvictionPolicy(content::BrowserContext* context);
jam 2015/11/02 18:36:37 nit: no content::
calamity 2015/11/03 04:26:41 Done.
+
// 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
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698