| Index: services/navigation/content_client/content_browser_client.cc
|
| diff --git a/services/navigation/content_client/content_browser_client.cc b/services/navigation/content_client/content_browser_client.cc
|
| index c7010b35fe1e32926f9eb828362a181e9f2cf3b2..caf226114ef367be6c9fceb7ec1e052efd90d93e 100644
|
| --- a/services/navigation/content_client/content_browser_client.cc
|
| +++ b/services/navigation/content_client/content_browser_client.cc
|
| @@ -8,11 +8,14 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/memory/ptr_util.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/common/service_info.h"
|
| #include "content/public/common/service_manager_connection.h"
|
| #include "content/shell/browser/shell_browser_context.h"
|
| #include "services/navigation/content_client/browser_main_parts.h"
|
| #include "services/navigation/navigation.h"
|
| +#include "storage/browser/quota/quota_settings.h"
|
|
|
| namespace navigation {
|
|
|
| @@ -41,4 +44,15 @@ void ContentBrowserClient::RegisterInProcessServices(
|
| base::MakeUnique<Navigation>());
|
| }
|
|
|
| +void ContentBrowserClient::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);
|
| +}
|
| +
|
| } // namespace navigation
|
|
|