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

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

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 5ebc017083ff8656d54fc00608e9b6cbb60b50e8..c30eb2925740a8e6ee4a7ecd21fcb602e5be2698 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -230,6 +230,14 @@ ContentBrowserClient::GetTemporaryStorageEvictionPolicy(
return std::unique_ptr<storage::QuotaEvictionPolicy>();
}
+void ContentBrowserClient::GetTemporaryStorageConfiguration(
+ BrowserContext* context,
+ const base::FilePath& partition_path, bool is_incognito,
+ const storage::TemporaryStorageConfigurationCallback& callback) {
+ // By default, no quota is provided, embedders should override.
+ callback.Run(storage::TemporaryStorageConfiguration());
+}
+
void ContentBrowserClient::SelectClientCertificate(
WebContents* web_contents,
net::SSLCertRequestInfo* cert_request_info,

Powered by Google App Engine
This is Rietveld 408576698