| Index: content/browser/geolocation/gps_location_provider_linux.h
|
| diff --git a/content/browser/geolocation/gps_location_provider_linux.h b/content/browser/geolocation/gps_location_provider_linux.h
|
| index 0d199917b8e8d0868e10113c4da45c69abeaa69f..0c1cac31e0c2fbb3174c53377025ae9af88c4ecf 100644
|
| --- a/content/browser/geolocation/gps_location_provider_linux.h
|
| +++ b/content/browser/geolocation/gps_location_provider_linux.h
|
| @@ -33,6 +33,16 @@ class CONTENT_EXPORT GpsLocationProviderLinux : public LocationProviderBase {
|
| explicit GpsLocationProviderLinux(LibGpsFactory libgps_factory);
|
| virtual ~GpsLocationProviderLinux();
|
|
|
| + void SetGpsdReconnectIntervalMillis(int value) {
|
| + gpsd_reconnect_interval_millis_ = value;
|
| + }
|
| + void SetPollPeriodMovingMillis(int value) {
|
| + poll_period_moving_millis_ = value;
|
| + }
|
| + void SetPollPeriodStationaryMillis(int value) {
|
| + poll_period_stationary_millis_ = value;
|
| + }
|
| +
|
| // LocationProvider
|
| virtual bool StartProvider(bool high_accuracy);
|
| virtual void StopProvider();
|
| @@ -47,6 +57,10 @@ class CONTENT_EXPORT GpsLocationProviderLinux : public LocationProviderBase {
|
| // Will schedule a poll; i.e. enqueue DoGpsPollTask deferred task.
|
| void ScheduleNextGpsPoll(int interval);
|
|
|
| + int gpsd_reconnect_interval_millis_;
|
| + int poll_period_moving_millis_;
|
| + int poll_period_stationary_millis_;
|
| +
|
| const LibGpsFactory libgps_factory_;
|
| scoped_ptr<LibGps> gps_;
|
| Geoposition position_;
|
|
|