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 6cc53b8d76292097e08add81fc8b1f0dce528ad5..fa92d5789034990a155b37e60c77d65d32c8987c 100644 |
--- a/content/public/browser/content_browser_client.cc |
+++ b/content/public/browser/content_browser_client.cc |
@@ -6,6 +6,7 @@ |
#include "base/files/file_path.h" |
#include "base/guid.h" |
+#include "base/logging.h" |
#include "build/build_config.h" |
#include "content/public/browser/client_certificate_delegate.h" |
#include "content/public/browser/memory_coordinator_delegate.h" |
@@ -231,10 +232,14 @@ QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
return nullptr; |
} |
-std::unique_ptr<storage::QuotaEvictionPolicy> |
-ContentBrowserClient::GetTemporaryStorageEvictionPolicy( |
- content::BrowserContext* context) { |
- return std::unique_ptr<storage::QuotaEvictionPolicy>(); |
+void ContentBrowserClient::GetQuotaSettings( |
+ BrowserContext* context, |
+ StoragePartition* partition, |
+ const storage::OptionalQuotaSettingsCallback& callback) { |
+ // By default, no quota is provided, embedders should override. |
+ LOG(WARNING) << "You must override ContentBrowserClient::GetQuotaSettings " |
+ << "to provide storage quota."; |
+ callback.Run(storage::GetNoQuotaSettings()); |
} |
void ContentBrowserClient::SelectClientCertificate( |