| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 1c7ce3b7eb720ea5a87af2bd1158e39a2da07c23..9282277ca3db8162240738198e1d3169122208f4 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -48,7 +48,6 @@
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/defaults.h"
|
| #include "chrome/browser/download/download_prefs.h"
|
| -#include "chrome/browser/engagement/site_engagement_eviction_policy.h"
|
| #include "chrome/browser/font_family_cache.h"
|
| #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
|
| #include "chrome/browser/memory/chrome_memory_coordinator_delegate.h"
|
| @@ -2151,12 +2150,15 @@ ChromeContentBrowserClient::CreateQuotaPermissionContext() {
|
| return new ChromeQuotaPermissionContext();
|
| }
|
|
|
| -std::unique_ptr<storage::QuotaEvictionPolicy>
|
| -ChromeContentBrowserClient::GetTemporaryStorageEvictionPolicy(
|
| - content::BrowserContext* context) {
|
| - return SiteEngagementEvictionPolicy::IsEnabled()
|
| - ? base::MakeUnique<SiteEngagementEvictionPolicy>(context)
|
| - : nullptr;
|
| +void ChromeContentBrowserClient::GetQuotaSettings(
|
| + content::BrowserContext* context,
|
| + content::StoragePartition* partition,
|
| + const storage::OptionalQuotaSettingsCallback& callback) {
|
| + content::BrowserThread::PostTaskAndReplyWithResult(
|
| + content::BrowserThread::FILE, FROM_HERE,
|
| + base::Bind(&storage::CalculateNominalDynamicSettings,
|
| + partition->GetPath(), context->IsOffTheRecord()),
|
| + callback);
|
| }
|
|
|
| void ChromeContentBrowserClient::AllowCertificateError(
|
|
|