Index: content/shell/browser/shell_content_browser_client.cc |
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc |
index 76c9a718fc47b5fc423246dbdebf9c986659fafb..acad7003a9584eb6df47dd76036787dfaf7778de 100644 |
--- a/content/shell/browser/shell_content_browser_client.cc |
+++ b/content/shell/browser/shell_content_browser_client.cc |
@@ -276,6 +276,20 @@ ShellContentBrowserClient::CreateQuotaPermissionContext() { |
return new ShellQuotaPermissionContext(); |
} |
+void ShellContentBrowserClient::GetTemporaryStorageConfiguration( |
+ BrowserContext* context, |
+ const base::FilePath& partition_path, bool is_incognito, |
+ const storage::TemporaryStorageConfigurationCallback& callback) { |
+ // We use simple hard coded values for content_shell. |
+ const int kMB = 1024 * 1024; |
+ storage::TemporaryStorageConfiguration config; |
+ config.per_host_quota = 10 * kMB; |
+ config.pool_size = 50 * kMB; |
+ config.must_remain_available = 10 * kMB; |
+ config.refresh_interval = base::TimeDelta::Max(); |
+ callback.Run(config); |
+} |
+ |
void ShellContentBrowserClient::SelectClientCertificate( |
WebContents* web_contents, |
net::SSLCertRequestInfo* cert_request_info, |