diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2014-12-04 07:07:32 -0800 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2014-12-04 19:38:20 +0100 |
commit | ff47f09a94a0a31edd40500985ff670e8f35cc2c (patch) | |
tree | 111076ae419cf24465f2b731c2dd294d6f97ae21 /src/core/content_browser_client_qt.h | |
parent | b4b6d85fea56fde2447b57c8a6e379b6d8a2ec41 (diff) |
Add a stub QuotaPermissionContext implementation
This prevents the crash when the application requests
persistent storage access using the Quota API (e.g. on
http://codepen.io/matt-west/full/CrfKh). The request has been
disallowed for now, because it should rely on user permission.
Change-Id: I4ae057c9485d3f06f45a637c7eeda9dd69fe6b54
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/content_browser_client_qt.h')
-rw-r--r-- | src/core/content_browser_client_qt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h index 4f216030c..f1ecf5825 100644 --- a/src/core/content_browser_client_qt.h +++ b/src/core/content_browser_client_qt.h @@ -80,6 +80,7 @@ public: virtual content::MediaObserver* GetMediaObserver() Q_DECL_OVERRIDE; virtual void OverrideWebkitPrefs(content::RenderViewHost *, const GURL &, WebPreferences *) Q_DECL_OVERRIDE; virtual content::AccessTokenStore *CreateAccessTokenStore() Q_DECL_OVERRIDE; + virtual content::QuotaPermissionContext *CreateQuotaPermissionContext() Q_DECL_OVERRIDE; virtual void AllowCertificateError( int render_process_id, int render_frame_id, |