Make the fling acceleration curve be easily configurable.
[chromium-blink-merge.git] / android_webview / browser / aw_quota_permission_context.h
blobf69c331fbb6936f664b8f201a5dc8e1c518de7fa
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 {
14 public:
15 AwQuotaPermissionContext();
17 virtual void RequestQuotaPermission(
18 const GURL& origin_url,
19 quota::StorageType type,
20 int64 new_quota,
21 int render_process_id,
22 int render_view_id,
23 const PermissionCallback& callback) OVERRIDE;
25 private:
26 virtual ~AwQuotaPermissionContext();
28 DISALLOW_COPY_AND_ASSIGN(AwQuotaPermissionContext);
31 } // namespace android_webview
33 #endif // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_