summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_quota_permission_context.cc
diff options
context:
space:
mode:
authorgbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-04 00:04:25 +0000
committergbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-04 00:04:25 +0000
commitf78aa772a44043f8164f3ba9ea2068af36fa04b7 (patch)
tree93ae44cb44667b22a124c8eea7d316f26fcc6960 /content/shell/browser/shell_quota_permission_context.cc
parent0e343df4bc331f52a6c00cc2b7e2037ef7765f58 (diff)
downloadchromium_src-f78aa772a44043f8164f3ba9ea2068af36fa04b7.zip
chromium_src-f78aa772a44043f8164f3ba9ea2068af36fa04b7.tar.gz
chromium_src-f78aa772a44043f8164f3ba9ea2068af36fa04b7.tar.bz2
[Quota] Pass user gesture state with quota request message.
Review URL: https://codereview.chromium.org/185793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261588 0039d316-1c4b-4281-b951-d872f2087c98
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);