summaryrefslogtreecommitdiffstats
path: root/src/core/register_protocol_handler_request_controller_impl.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-02-08 16:13:34 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-03-29 14:52:16 +0200
commitd9ae75b3234392aebb714c1046a471386a63deed (patch)
tree5ea50ef1a82447ca85032028ca0c935265f0b4ae /src/core/register_protocol_handler_request_controller_impl.h
parentdb59a3096b4f44aaacabdc5b455fbc0a3a6b8fb1 (diff)
Adaptations for Chrome 98
Change-Id: I607604f85a111a69da77ca949dddf3399b9721b3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/register_protocol_handler_request_controller_impl.h')
-rw-r--r--src/core/register_protocol_handler_request_controller_impl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/register_protocol_handler_request_controller_impl.h b/src/core/register_protocol_handler_request_controller_impl.h
index fb2cadc96..102c943be 100644
--- a/src/core/register_protocol_handler_request_controller_impl.h
+++ b/src/core/register_protocol_handler_request_controller_impl.h
@@ -42,11 +42,12 @@
#include "register_protocol_handler_request_controller.h"
-#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/custom_handlers/protocol_handler.h"
+namespace custom_handlers {
class ProtocolHandlerRegistry;
+}
namespace QtWebEngineCore {
@@ -64,7 +65,7 @@ protected:
void rejected() override;
private:
- ProtocolHandlerRegistry *protocolHandlerRegistry();
+ custom_handlers::ProtocolHandlerRegistry *protocolHandlerRegistry();
content::ProtocolHandler m_handler;
};