ChannelMojo: Let MessagePipeReader wait "peer closed" signal as well.
[chromium-blink-merge.git] / android_webview / browser / aw_quota_permission_context.h
blob035557e5659fbe1202f8f8fc75ff9285526743f9
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 void RequestQuotaPermission(const content::StorageQuotaParams& params,
18 int render_process_id,
19 const PermissionCallback& callback) override;
21 private:
22 ~AwQuotaPermissionContext() override;
24 DISALLOW_COPY_AND_ASSIGN(AwQuotaPermissionContext);
27 } // namespace android_webview
29 #endif // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_PERMISSION_CONTEXT_H_