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..fd89821eeeb39db8be8e6f417c073bd9521b5158 100644 |
--- a/services/navigation/content_client/content_browser_client.cc |
+++ b/services/navigation/content_client/content_browser_client.cc |
@@ -8,11 +8,13 @@ |
#include "base/command_line.h" |
#include "base/memory/ptr_util.h" |
+#include "content/public/browser/browser_thread.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 +43,16 @@ void ContentBrowserClient::RegisterInProcessServices( |
base::MakeUnique<Navigation>()); |
} |
+void ContentBrowserClient::GetQuotaSettings( |
+ content::BrowserContext* context, |
+ const base::FilePath& partition_path, |
+ bool is_incognito, |
+ const storage::OptionalQuotaSettingsCallback& callback) { |
+ content::BrowserThread::PostTaskAndReplyWithResult( |
+ content::BrowserThread::FILE, FROM_HERE, |
+ base::Bind(&storage::CalculateNominalDynamicSettings, partition_path, |
+ is_incognito), |
+ callback); |
+} |
+ |
} // namespace navigation |