| Index: Source/modules/geolocation/testing/GeolocationClientMock.h
|
| diff --git a/Source/modules/geolocation/testing/GeolocationClientMock.h b/Source/modules/geolocation/testing/GeolocationClientMock.h
|
| index a30890d859946af377d3cb7c84a4c2b5d014fe3d..3cd22bbb3bf2c732bb57769d9e8b0f8c6e32ac67 100644
|
| --- a/Source/modules/geolocation/testing/GeolocationClientMock.h
|
| +++ b/Source/modules/geolocation/testing/GeolocationClientMock.h
|
| @@ -50,8 +50,6 @@ public:
|
| GeolocationClientMock();
|
| virtual ~GeolocationClientMock();
|
|
|
| - void setController(GeolocationController*);
|
| -
|
| void setPosition(PassRefPtrWillBeRawPtr<GeolocationPosition>);
|
| void setPositionUnavailableError(const String& errorMessage);
|
| void setPermission(bool allowed);
|
| @@ -65,6 +63,8 @@ public:
|
| virtual GeolocationPosition* lastPosition() OVERRIDE;
|
| virtual void requestPermission(Geolocation*) OVERRIDE;
|
| virtual void cancelPermissionRequest(Geolocation*) OVERRIDE;
|
| + void controllerForTestAdded(GeolocationController*) OVERRIDE;
|
| + void controllerForTestRemoved(GeolocationController*) OVERRIDE;
|
|
|
| private:
|
| void asyncUpdateController();
|
| @@ -75,7 +75,7 @@ private:
|
|
|
| void clearError();
|
|
|
| - GeolocationController* m_controller;
|
| + HashSet<GeolocationController*> m_controllers;
|
| RefPtrWillBePersistent<GeolocationPosition> m_lastPosition;
|
| bool m_hasError;
|
| String m_errorMessage;
|
|
|