summaryrefslogtreecommitdiffstats
path: root/src/core/authentication_dialog_controller_p.h
blob: 9cbe964ac30b66b5842d4efe11face19a9c4dcee (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
// Copyright (C) 2016 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

#ifndef AUTHENTICATION_DIALOG_CONTROLLER_P_H
#define AUTHENTICATION_DIALOG_CONTROLLER_P_H

#include "base/memory/weak_ptr.h"

#include "login_delegate_qt.h"

namespace QtWebEngineCore {

class AuthenticationDialogControllerPrivate {

public:
    AuthenticationDialogControllerPrivate(base::WeakPtr<LoginDelegateQt> loginDelegate);
    void dialogFinished(bool accepted);

    base::WeakPtr<LoginDelegateQt> loginDelegate;
    QUrl url;
    QString host;
    QString realm;
    bool isProxy;
    QString user;
    QString password;
};

} // namespace QtWebEngineCore

#endif // AUTHENTICATION_DIALOG_CONTROLLER_H