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

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

Issue 1321733004: Use the site engagement eviction policy for temporary storage eviction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_eviction_policy
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
« no previous file with comments | « content/browser/storage_partition_impl.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 7f1dd208493ab25fc480045c50b14561daeffb77..46582c1b5867cc6e240ea12bbfa057933ff7c5e1 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -72,6 +72,10 @@ namespace sandbox {
class TargetPolicy;
}
+namespace storage {
+class QuotaEvictionPolicy;
+}
+
namespace ui {
class SelectFilePolicy;
}
@@ -572,6 +576,9 @@ class CONTENT_EXPORT ContentBrowserClient {
// information.
virtual LocationProvider* OverrideSystemLocationProvider();
+ virtual storage::QuotaEvictionPolicy* GetTemporaryStorageEvictionPolicy(
+ BrowserContext* browser_context);
+
// Creates a new DevToolsManagerDelegate. The caller owns the returned value.
// It's valid to return nullptr.
virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698