summaryrefslogtreecommitdiffstats
path: root/src/core/login_delegate_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-20 14:17:47 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-07-10 10:26:38 +0200
commit9cfde2edf4736ae9533e7e1fac495a23ad905419 (patch)
tree4eca639f54719a8824a527ee6a40fb13b462b110 /src/core/login_delegate_qt.cpp
parent0a01998411de6a46af8d0b0ae13b8f401cd14a4b (diff)
Adaptations for Chromium 75
Change-Id: Idad08244e0c749a9f70f5eb9f8cd236039b941b3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/login_delegate_qt.cpp')
-rw-r--r--src/core/login_delegate_qt.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/login_delegate_qt.cpp b/src/core/login_delegate_qt.cpp
index b02940584..7970b9b46 100644
--- a/src/core/login_delegate_qt.cpp
+++ b/src/core/login_delegate_qt.cpp
@@ -72,11 +72,11 @@
namespace QtWebEngineCore {
-LoginDelegateQt::LoginDelegateQt(net::AuthChallengeInfo *authInfo,
- content::WebContents *web_contents,
- GURL url,
- bool /*first_auth_attempt*/,
- LoginAuthRequiredCallback auth_required_callback)
+LoginDelegateQt::LoginDelegateQt(const net::AuthChallengeInfo &authInfo,
+ content::WebContents *web_contents,
+ GURL url,
+ bool /*first_auth_attempt*/,
+ LoginAuthRequiredCallback auth_required_callback)
: content::WebContentsObserver(web_contents)
, m_authInfo(authInfo)
, m_url(url)
@@ -100,22 +100,22 @@ QUrl LoginDelegateQt::url() const
QString LoginDelegateQt::realm() const
{
- return QString::fromStdString(m_authInfo->realm);
+ return QString::fromStdString(m_authInfo.realm);
}
QString LoginDelegateQt::host() const
{
- return QString::fromStdString(m_authInfo->challenger.host());
+ return QString::fromStdString(m_authInfo.challenger.host());
}
int LoginDelegateQt::port() const
{
- return m_authInfo->challenger.port();
+ return m_authInfo.challenger.port();
}
bool LoginDelegateQt::isProxy() const
{
- return m_authInfo->is_proxy;
+ return m_authInfo.is_proxy;
}
void LoginDelegateQt::triggerDialog()