Index: blimp/engine/feature/geolocation/blimp_location_provider.h |
diff --git a/blimp/engine/feature/geolocation/blimp_location_provider.h b/blimp/engine/feature/geolocation/blimp_location_provider.h |
index d5ffe5ac23ee459b4b1a8a39371a6ed49716b306..cc5ef6e54a9a9236211247c0b62cbb28f59afc73 100644 |
--- a/blimp/engine/feature/geolocation/blimp_location_provider.h |
+++ b/blimp/engine/feature/geolocation/blimp_location_provider.h |
@@ -37,13 +37,16 @@ class BlimpLocationProvider : public device::LocationProvider { |
// device::LocationProvider implementation. |
bool StartProvider(bool high_accuracy) override; |
void StopProvider() override; |
- void GetPosition(device::Geoposition* position) override; |
- void RequestRefresh() override; |
+ const device::Geoposition& GetPosition() override; |
void OnPermissionGranted() override; |
void SetUpdateCallback( |
const LocationProviderUpdateCallback& callback) override; |
private: |
+ // Provides a hint to the provider that new location data is needed as soon |
+ // as possible. |
+ void RequestRefresh(); |
+ |
// This delegate handles a subset of the LocationProvider functionality. |
base::WeakPtr<Delegate> delegate_; |