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/location_provider_qt.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core/location_provider_qt.h') diff --git a/src/core/location_provider_qt.h b/src/core/location_provider_qt.h index facf4b769..15b2e0520 100644 --- a/src/core/location_provider_qt.h +++ b/src/core/location_provider_qt.h @@ -43,12 +43,14 @@ #include "content/public/common/geoposition.h" QT_FORWARD_DECLARE_CLASS(QThread) -class QtPositioningHelper; namespace base { class MessageLoop; } +namespace QtWebEngineCore { +class QtPositioningHelper; + class LocationProviderQt : public content::LocationProviderBase { public: @@ -73,4 +75,6 @@ private: }; //#define QT_USE_POSITIONING 1 +} // namespace QtWebEngineCore + #endif // LOCATION_PROVIDER_QT_H -- cgit v1.2.3