summaryrefslogtreecommitdiffstats
path: root/src/core/qrc_protocol_handler_qt.h
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2016-11-10 17:10:20 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2016-11-11 13:39:59 +0000
commite83c722db43351329e451e84420a6b69591bc076 (patch)
tree1bac6d506b8e87fdf269a548c19a2bbbed608c26 /src/core/qrc_protocol_handler_qt.h
parentc27374541e289962df6947967b97178bfa63e9f7 (diff)
Make view source working with qrc URLs
Task-number: QTBUG-56353 Change-Id: I9c5dc3a6ba4e6b08ecbb4e44d38a53d24010807b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/qrc_protocol_handler_qt.h')
-rw-r--r--src/core/qrc_protocol_handler_qt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/qrc_protocol_handler_qt.h b/src/core/qrc_protocol_handler_qt.h
index 53d063810..a2e0cc00b 100644
--- a/src/core/qrc_protocol_handler_qt.h
+++ b/src/core/qrc_protocol_handler_qt.h
@@ -53,6 +53,8 @@ class URLRequestJob;
namespace QtWebEngineCore {
+extern const char kQrcSchemeQt[];
+
// Implements a ProtocolHandler for qrc file jobs. If |network_delegate_| is NULL,
// then all file requests will fail with ERR_ACCESS_DENIED.
class QrcProtocolHandlerQt : public net::URLRequestJobFactory::ProtocolHandler {