From 0c49002d833b6c8ccf822d1ebd29a86b3f15f389 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 12 Dec 2014 15:06:29 +0100 Subject: Add namespace to internal QtWebEngine API Adds the QtWebEngineCore namespace to all internal core API. This ensures we don't export any internal symbols in the global namespace. Change-Id: I26af888ea7c6c4c4d0f04c24a377c1a9d3c92751 Reviewed-by: Andras Becsi --- src/core/custom_protocol_handler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/custom_protocol_handler.cpp') diff --git a/src/core/custom_protocol_handler.cpp b/src/core/custom_protocol_handler.cpp index fd8cebb9e..5deadf185 100644 --- a/src/core/custom_protocol_handler.cpp +++ b/src/core/custom_protocol_handler.cpp @@ -41,6 +41,8 @@ #include "net/url_request/url_request.h" #include "net/url_request/url_request_error_job.h" +namespace QtWebEngineCore { + CustomProtocolHandler::CustomProtocolHandler(CustomUrlSchemeHandler *schemeHandler) : m_schemeHandler(schemeHandler) { @@ -53,3 +55,5 @@ net::URLRequestJob *CustomProtocolHandler::MaybeCreateJob(net::URLRequest *reque return new URLRequestCustomJob(request, networkDelegate, m_schemeHandler); } + +} // namespace -- cgit v1.2.3