summaryrefslogtreecommitdiffstats
path: root/src/core/net/url_request_custom_job_delegate.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-08-09 11:18:11 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-08-09 09:39:14 +0000
commit9cbe64c54dee8451794e29f4357ccfac6d883e6b (patch)
treea9eb363b39a3c9bcaa160aa89cc354deb543f610 /src/core/net/url_request_custom_job_delegate.h
parent04355f4d6f311adebfc354b094a5f79c6327e86f (diff)
Revert "Add HTTP request headers to custom URL schemes"
This reverts commit a5bdc6236ad52586579a9a3da6a059835ed60761 and 04355f4d6f311adebfc354b094a5f79c6327e86f. CI still crashes on tst_QWebEngineProfile::urlSchemeHandler tests, issue is not reproducible locally and it will take time to investigate. Task-number: QTBUG-69844 Change-Id: I7ddb6a32383400d553fe692c24effb6dfb7b6102 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/net/url_request_custom_job_delegate.h')
-rw-r--r--src/core/net/url_request_custom_job_delegate.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/net/url_request_custom_job_delegate.h b/src/core/net/url_request_custom_job_delegate.h
index 9de0224f9..caabfcf99 100644
--- a/src/core/net/url_request_custom_job_delegate.h
+++ b/src/core/net/url_request_custom_job_delegate.h
@@ -54,7 +54,6 @@
#include "base/memory/ref_counted.h"
#include "qtwebenginecoreglobal_p.h"
-#include <QMap>
#include <QObject>
#include <QUrl>
@@ -81,7 +80,6 @@ public:
QUrl url() const;
QByteArray method() const;
QUrl initiator() const;
- const QMap<QByteArray, QByteArray> &requestHeaders() const;
void reply(const QByteArray &contentType, QIODevice *device);
void redirect(const QUrl& url);
@@ -95,15 +93,13 @@ private:
URLRequestCustomJobDelegate(URLRequestCustomJobProxy *proxy,
const QUrl &url,
const QByteArray &method,
- const QUrl &initiatorOrigin,
- const QMap<QByteArray, QByteArray> &requestHeaders);
+ const QUrl &initiatorOrigin);
friend class URLRequestCustomJobProxy;
scoped_refptr<URLRequestCustomJobProxy> m_proxy;
QUrl m_request;
QByteArray m_method;
QUrl m_initiatorOrigin;
- const QMap<QByteArray, QByteArray> m_requestHeaders;
};
} // namespace