1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/quota_permission_context.h"
11 namespace android_webview
{
13 class AwQuotaPermissionContext
: public content::QuotaPermissionContext
{
15 AwQuotaPermissionContext();
17 virtual void RequestQuotaPermission(
18 const GURL
& origin_url
,
19 quota::StorageType type
,
21 int render_process_id
,
23 const PermissionCallback
& callback
) OVERRIDE
;
26 virtual ~AwQuotaPermissionContext();
28 DISALLOW_COPY_AND_ASSIGN(AwQuotaPermissionContext
);
31 } // namespace android_webview
33 #endif // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_