summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_quota_permission_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser/shell_quota_permission_context.cc')
-rw-r--r--content/shell/browser/shell_quota_permission_context.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/content/shell/browser/shell_quota_permission_context.cc b/content/shell/browser/shell_quota_permission_context.cc
index 064322f..8a9e89f 100644
--- a/content/shell/browser/shell_quota_permission_context.cc
+++ b/content/shell/browser/shell_quota_permission_context.cc
@@ -11,13 +11,10 @@ namespace content {
ShellQuotaPermissionContext::ShellQuotaPermissionContext() {}
void ShellQuotaPermissionContext::RequestQuotaPermission(
- const GURL& origin_url,
- quota::StorageType type,
- int64 requested_quota,
+ const StorageQuotaParams& params,
int render_process_id,
- int render_view_id,
const PermissionCallback& callback) {
- if (type != quota::kStorageTypePersistent) {
+ if (params.storage_type != quota::kStorageTypePersistent) {
// For now we only support requesting quota with this interface
// for Persistent storage type.
callback.Run(QUOTA_PERMISSION_RESPONSE_DISALLOW);