summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginequotarequest.cpp
blob: ea3a0c6f4714749c8ef764fb5368049e4824677f (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// 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
// Qt-Security score:significant reason:default

#include "qwebenginequotarequest.h"

#if QT_DEPRECATED_SINCE(6, 5)

QT_BEGIN_NAMESPACE

/*!
    \class QWebEngineQuotaRequest
    \since 5.11
    \inmodule QtWebEngineCore
    \deprecated [6.5] Requesting host quota is no longer supported by Chromium.

    The behavior of navigator.webkitPersistentStorage
    is identical to navigator.webkitTemporaryStorage.

    For further details, see https://crbug.com/1233525
*/

/*! \fn QWebEngineQuotaRequest::QWebEngineQuotaRequest()
    \internal
*/

void QWebEngineQuotaRequest::reject()
{
}

void QWebEngineQuotaRequest::accept()
{
}

/*!
    \property QWebEngineQuotaRequest::origin
*/

QUrl QWebEngineQuotaRequest::origin() const
{
    return QUrl();
}

/*!
    \property QWebEngineQuotaRequest::requestedSize
*/

qint64 QWebEngineQuotaRequest::requestedSize() const
{
    return 0;
}

QT_END_NAMESPACE

#endif // QT_DEPRECATED_SINCE(6, 5)

#include "moc_qwebenginequotarequest.cpp"