| 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 021681d964a9b368f0af0098405ebb5cd9e640f8..e0ab4264eb4ef30b86897fd15af64e54e5a57bce 100644
|
| --- a/android_webview/browser/aw_content_browser_client.cc
|
| +++ b/android_webview/browser/aw_content_browser_client.cc
|
| @@ -45,6 +45,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.h"
|
| @@ -55,6 +56,7 @@
|
| #include "net/android/network_library.h"
|
| #include "net/ssl/ssl_cert_request_info.h"
|
| #include "net/ssl/ssl_info.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"
|
| @@ -349,6 +351,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,
|
|
|