diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2017-06-20 17:05:42 +0200 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2017-06-26 08:30:16 +0000 |
commit | 5406c49638f3e4ff22a485b3788fa4f4ceb4dab9 (patch) | |
tree | 110de71b000d35a5f4df7fe3ff151afea25e3857 /src/core/content_browser_client_qt.h | |
parent | 949fb65dd958d5129b7e359fec9eb21b229b468d (diff) |
Add QuotaSettings
From 58-based Chromium, we have to provide quota settings that determine
the amount of disk space that may be used by storage APIs, like IndexedDB.
The provided space was 0 by default, so these APIs were not working
properly.
Let Chromium estimate the size intelligently for now - that is exactly
what Chrome and content_shell do.
Change-Id: Ifd16cee92e56ec14b0c0e75b73d7238d128bebfa
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/content_browser_client_qt.h')
-rw-r--r-- | src/core/content_browser_client_qt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h index 68ec455e3..95c7d2894 100644 --- a/src/core/content_browser_client_qt.h +++ b/src/core/content_browser_client_qt.h @@ -94,6 +94,9 @@ public: gl::GLShareGroup* GetInProcessGpuShareGroup() override; content::MediaObserver* GetMediaObserver() override; content::QuotaPermissionContext *CreateQuotaPermissionContext() override; + void GetQuotaSettings(content::BrowserContext *context, + content::StoragePartition *partition, + const storage::OptionalQuotaSettingsCallback &callback) override; void OverrideWebkitPrefs(content::RenderViewHost *, content::WebPreferences *) override; void AllowCertificateError(content::WebContents* web_contents, int cert_error, |