| Index: chromecast/browser/cast_content_browser_client.cc
|
| diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
|
| index 31535fbb5e8f034f783604dd005631d0eb9f1fb6..8031141985d93126f16705bcc163247ad9df2472 100644
|
| --- a/chromecast/browser/cast_content_browser_client.cc
|
| +++ b/chromecast/browser/cast_content_browser_client.cc
|
| @@ -47,6 +47,7 @@
|
| #include "content/public/browser/client_certificate_delegate.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/resource_dispatcher_host.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/content_descriptors.h"
|
| #include "content/public/common/content_switches.h"
|
| @@ -322,6 +323,16 @@ CastContentBrowserClient::CreateQuotaPermissionContext() {
|
| return new CastQuotaPermissionContext();
|
| }
|
|
|
| +void CastContentBrowserClient::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 CastContentBrowserClient::AllowCertificateError(
|
| content::WebContents* web_contents,
|
| int cert_error,
|
|
|