diff options
Diffstat (limited to 'WebCore/platform/GeolocationService.h')
-rw-r--r-- | WebCore/platform/GeolocationService.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/platform/GeolocationService.h b/WebCore/platform/GeolocationService.h index 363865d..2cb70f2 100644 --- a/WebCore/platform/GeolocationService.h +++ b/WebCore/platform/GeolocationService.h @@ -65,6 +65,8 @@ public: void errorOccurred(); static void useMock(); + typedef GeolocationService* (FactoryFunction)(GeolocationServiceClient*); + static void setCustomMockFactory(FactoryFunction); protected: GeolocationService(GeolocationServiceClient*); @@ -73,8 +75,8 @@ protected: private: GeolocationServiceClient* m_geolocationServiceClient; - typedef GeolocationService* (FactoryFunction)(GeolocationServiceClient*); static FactoryFunction* s_factoryFunction; + static FactoryFunction* s_mockFactoryFunction; }; } // namespace WebCore |