| 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 4404b067e1c9fb2c3f7f138ed2803f4ffd4105a7..08ea32093ebe198b31cd3aaeebf0ad2523cc5f5c 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"
|
| @@ -2153,12 +2152,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(
|
|
|