summaryrefslogtreecommitdiffstats
path: root/src/core/login_delegate_qt.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-23 18:26:28 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-09-22 08:47:19 +0000
commitc0419ae89fbc4fbdc58aef5b8b01ab0b45f8ff98 (patch)
treed0bdc1f0ef144bb63ed75b8e6fcfb6f039628210 /src/core/login_delegate_qt.h
parent1e89fa4226be870d97d3b21c6c7087886c81bbc5 (diff)
Adaptations for Chromium 68
Together-with: Tamas Zakor<ztamas@inf.u-szeged.hu> Change-Id: I805246b6f01cb151fff48588744408c676d87c14 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/login_delegate_qt.h')
-rw-r--r--src/core/login_delegate_qt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/login_delegate_qt.h b/src/core/login_delegate_qt.h
index 83ddc4322..9ce5df843 100644
--- a/src/core/login_delegate_qt.h
+++ b/src/core/login_delegate_qt.h
@@ -40,6 +40,7 @@
#ifndef LOGIN_DELEGATE_QT_H
#define LOGIN_DELEGATE_QT_H
+#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/login_delegate.h"
#include "content/public/browser/resource_request_info.h"
#include "url/gurl.h"
@@ -61,7 +62,7 @@ public:
content::ResourceRequestInfo::WebContentsGetter web_contents_getter,
GURL url,
bool first_auth_attempt,
- const base::Callback<void(const base::Optional<net::AuthCredentials>&)> &auth_required_callback);
+ LoginAuthRequiredCallback auth_required_callback);
~LoginDelegateQt();
@@ -82,7 +83,7 @@ private:
scoped_refptr<net::AuthChallengeInfo> m_authInfo;
GURL m_url;
- base::Callback<void(const base::Optional<net::AuthCredentials>&)> m_auth_required_callback;
+ LoginAuthRequiredCallback m_auth_required_callback;
// This member is used to keep authentication dialog controller alive until
// authorization is sent or cancelled.