| Index: android_webview/browser/aw_content_browser_client.cc
|
| diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
|
| index a6bb56546a7109084126a3105ee4849681f6040c..5f90c4502b160e8661d8c3b9010aac6c1bf01c21 100644
|
| --- a/android_webview/browser/aw_content_browser_client.cc
|
| +++ b/android_webview/browser/aw_content_browser_client.cc
|
| @@ -47,6 +47,7 @@
|
| #include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/service_names.mojom.h"
|
| @@ -58,6 +59,7 @@
|
| #include "net/ssl/ssl_cert_request_info.h"
|
| #include "net/ssl/ssl_info.h"
|
| #include "services/service_manager/public/cpp/interface_registry.h"
|
| +#include "storage/browser/quota/quota_settings.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/resource/resource_bundle_android.h"
|
| #include "ui/resources/grit/ui_resources.h"
|
| @@ -353,6 +355,17 @@ AwContentBrowserClient::CreateQuotaPermissionContext() {
|
| return new AwQuotaPermissionContext;
|
| }
|
|
|
| +void AwContentBrowserClient::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 AwContentBrowserClient::AllowCertificateError(
|
| content::WebContents* web_contents,
|
| int cert_error,
|
|
|