blob: a9a002380e08f0982387722eb751a06ef1cfb283 (
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
31
32
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QUOTA_REQUEST_CONTROLLER_IMPL_H
#define QUOTA_REQUEST_CONTROLLER_IMPL_H
#include "quota_permission_context_qt.h"
#include "quota_request_controller.h"
namespace QtWebEngineCore {
class QuotaRequestControllerImpl final : public QuotaRequestController {
public:
QuotaRequestControllerImpl(
QuotaPermissionContextQt *context,
const content::StorageQuotaParams ¶ms,
content::QuotaPermissionContext::PermissionCallback callback);
~QuotaRequestControllerImpl();
protected:
void accepted() override;
void rejected() override;
private:
scoped_refptr<QuotaPermissionContextQt> m_context;
content::QuotaPermissionContext::PermissionCallback m_callback;
};
} // namespace QtWebEngineCore
#endif // QUOTA_REQUEST_CONTROLLER_IMPL_H
|