summaryrefslogtreecommitdiffstats
path: root/src/core/custom_url_scheme_handler.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-12-12 15:06:29 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-03-02 13:18:46 +0000
commit0c49002d833b6c8ccf822d1ebd29a86b3f15f389 (patch)
treea414da48ea946a97daba4eb9106f0e2387f18a42 /src/core/custom_url_scheme_handler.h
parent26ae2ce0a8401698a2b1c1f0a8162ebf83dcafef (diff)
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 <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/custom_url_scheme_handler.h')
-rw-r--r--src/core/custom_url_scheme_handler.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/custom_url_scheme_handler.h b/src/core/custom_url_scheme_handler.h
index dbcdf2a60..0079095d8 100644
--- a/src/core/custom_url_scheme_handler.h
+++ b/src/core/custom_url_scheme_handler.h
@@ -42,12 +42,14 @@
#include <QtCore/QByteArray>
#include <QtCore/QScopedPointer>
+QT_FORWARD_DECLARE_CLASS(QIODevice)
+
+namespace QtWebEngineCore {
+
class BrowserContextAdapter;
class CustomProtocolHandler;
class URLRequestCustomJobDelegate;
-QT_FORWARD_DECLARE_CLASS(QIODevice)
-
class QWEBENGINE_EXPORT CustomUrlSchemeHandler {
public:
explicit CustomUrlSchemeHandler(const QByteArray &);
@@ -63,4 +65,7 @@ private:
QByteArray m_scheme;
};
+
+} // namespace
+
#endif // CUSTOM_URL_SCHEME_HANDLER_H_