| 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 6fa422d77d8d52523b82e6d3704f6f975f07e7f6..ffd99fc6943809ec7dc9fbd30959c2789dfd95f4 100644
|
| --- a/android_webview/browser/aw_content_browser_client.cc
|
| +++ b/android_webview/browser/aw_content_browser_client.cc
|
| @@ -49,6 +49,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"
|
| @@ -60,6 +61,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"
|
| @@ -358,6 +360,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,
|
|
|