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

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, 1 month 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..fe3538f35a7dfe87d264b33aa72e1784ad7374b4 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(BrowserContext* context);
+
// 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