Index: device/geolocation/location_provider.h |
diff --git a/device/geolocation/location_provider.h b/device/geolocation/location_provider.h |
index 475dbee52083f42a41c18dc9672fa40c3f05b0dd..bd6dc5a45c5dafe3e549e86cbc287a48c30d939b 100644 |
--- a/device/geolocation/location_provider.h |
+++ b/device/geolocation/location_provider.h |
@@ -40,11 +40,7 @@ class LocationProvider { |
virtual void StopProvider() = 0; |
// Gets the current best position estimate. |
- virtual void GetPosition(Geoposition* position) = 0; |
- |
- // Provides a hint to the provider that new location data is needed as soon |
- // as possible. |
- virtual void RequestRefresh() = 0; |
+ virtual const Geoposition& GetPosition() = 0; |
// Called everytime permission is granted to a page for using geolocation. |
// This may either be through explicit user action (e.g. responding to the |