diff options
Diffstat (limited to 'src/core/custom_handlers')
3 files changed, 6 insertions, 6 deletions
diff --git a/src/core/custom_handlers/protocol_handler_registry_factory.cpp b/src/core/custom_handlers/protocol_handler_registry_factory.cpp index 14af1ed28..50b17006b 100644 --- a/src/core/custom_handlers/protocol_handler_registry_factory.cpp +++ b/src/core/custom_handlers/protocol_handler_registry_factory.cpp @@ -63,7 +63,7 @@ bool ProtocolHandlerRegistryFactory::ServiceIsNULLWhileTesting() const KeyedService *ProtocolHandlerRegistryFactory::BuildServiceInstanceFor(content::BrowserContext *context) const { custom_handlers::ProtocolHandlerRegistry *registry = - new custom_handlers::ProtocolHandlerRegistry(context, + new custom_handlers::ProtocolHandlerRegistry(/*prefs*/ nullptr, std::make_unique<ProtocolHandlerRegistryDelegateQt>()); // Must be called as a part of the creation process. diff --git a/src/core/custom_handlers/register_protocol_handler_request_controller_impl.cpp b/src/core/custom_handlers/register_protocol_handler_request_controller_impl.cpp index fe6dcdd32..efaf54cd2 100644 --- a/src/core/custom_handlers/register_protocol_handler_request_controller_impl.cpp +++ b/src/core/custom_handlers/register_protocol_handler_request_controller_impl.cpp @@ -12,7 +12,7 @@ namespace QtWebEngineCore { RegisterProtocolHandlerRequestControllerImpl::RegisterProtocolHandlerRequestControllerImpl( content::WebContents *webContents, - content::ProtocolHandler handler) + custom_handlers::ProtocolHandler handler) : RegisterProtocolHandlerRequestController( toQt(handler.url()), toQt(handler.protocol())) diff --git a/src/core/custom_handlers/register_protocol_handler_request_controller_impl.h b/src/core/custom_handlers/register_protocol_handler_request_controller_impl.h index feb2cf0b8..073ca9bf8 100644 --- a/src/core/custom_handlers/register_protocol_handler_request_controller_impl.h +++ b/src/core/custom_handlers/register_protocol_handler_request_controller_impl.h @@ -4,10 +4,10 @@ #ifndef REGISTER_PROTOCOL_HANDLER_REQUEST_CONTROLLER_IMPL_H #define REGISTER_PROTOCOL_HANDLER_REQUEST_CONTROLLER_IMPL_H -#include "custom_handlers/register_protocol_handler_request_controller.h" +#include "register_protocol_handler_request_controller.h" #include "content/public/browser/web_contents_observer.h" -#include "content/public/common/custom_handlers/protocol_handler.h" +#include "components/custom_handlers/protocol_handler.h" namespace custom_handlers { class ProtocolHandlerRegistry; @@ -20,7 +20,7 @@ class RegisterProtocolHandlerRequestControllerImpl final : public RegisterProtoc public: RegisterProtocolHandlerRequestControllerImpl( content::WebContents *webContents, - content::ProtocolHandler handler); + custom_handlers::ProtocolHandler handler); ~RegisterProtocolHandlerRequestControllerImpl(); @@ -30,7 +30,7 @@ protected: private: custom_handlers::ProtocolHandlerRegistry *protocolHandlerRegistry(); - content::ProtocolHandler m_handler; + custom_handlers::ProtocolHandler m_handler; }; } // namespace QtWebEngineCore |