summaryrefslogtreecommitdiffstats
path: root/android_webview/browser/aw_quota_permission_context.h
blob: 035557e5659fbe1202f8f8fc75ff9285526743f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_
#define ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_

#include "base/compiler_specific.h"
#include "content/public/browser/quota_permission_context.h"

namespace android_webview {

class AwQuotaPermissionContext : public content::QuotaPermissionContext {
 public:
  AwQuotaPermissionContext();

  void RequestQuotaPermission(const content::StorageQuotaParams& params,
                              int render_process_id,
                              const PermissionCallback& callback) override;

 private:
  ~AwQuotaPermissionContext() override;

  DISALLOW_COPY_AND_ASSIGN(AwQuotaPermissionContext);
};

}  // namespace android_webview

#endif  // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_