| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index d69468a0c9ae77c6eb3a088c5c851fb1cd6ad704..f89deb2d30ff21b3a8b16550af97e0df3242c5ed 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -29,6 +29,7 @@
|
| #include "net/base/mime_util.h"
|
| #include "net/cookies/canonical_cookie.h"
|
| #include "storage/browser/fileapi/file_system_context.h"
|
| +#include "storage/browser/quota/quota_manager.h"
|
| #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
|
| #include "ui/base/page_transition_types.h"
|
| #include "ui/base/window_open_disposition.h"
|
| @@ -92,7 +93,6 @@ class Origin;
|
|
|
| namespace storage {
|
| class FileSystemBackend;
|
| -class QuotaEvictionPolicy;
|
| }
|
|
|
| namespace content {
|
| @@ -119,6 +119,7 @@ class RenderViewHost;
|
| class ResourceContext;
|
| class SiteInstance;
|
| class SpeechRecognitionManagerDelegate;
|
| +class StoragePartition;
|
| class TracingDelegate;
|
| class VpnServiceProxy;
|
| class WebContents;
|
| @@ -446,10 +447,13 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // Create and return a new quota permission context.
|
| virtual QuotaPermissionContext* CreateQuotaPermissionContext();
|
|
|
| - // Gives the embedder a chance to register a custom QuotaEvictionPolicy for
|
| - // temporary storage.
|
| - virtual std::unique_ptr<storage::QuotaEvictionPolicy>
|
| - GetTemporaryStorageEvictionPolicy(BrowserContext* context);
|
| + // Allows the embedder to provide settings that determine the amount
|
| + // of disk space that may be used by content facing storage apis like
|
| + // IndexedDatabase and ServiceWorker::CacheStorage and others.
|
| + virtual void GetQuotaSettings(
|
| + content::BrowserContext* context,
|
| + content::StoragePartition* partition,
|
| + const storage::OptionalQuotaSettingsCallback& callback);
|
|
|
| // Informs the embedder that a certificate error has occured. If
|
| // |overridable| is true and if |strict_enforcement| is false, the user
|
|
|