diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 18:35:09 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 18:35:09 +0000 |
commit | 45f0e434b198fd285c34f71815ef4e7254aa0db0 (patch) | |
tree | 0634d85a1e7b55a509fa6ca8de7e2668c3f7189f /chrome/browser/geolocation/location_provider.h | |
parent | 4728611f7756fcf6a9b38ed65ada3869132ca899 (diff) | |
download | chromium_src-45f0e434b198fd285c34f71815ef4e7254aa0db0.zip chromium_src-45f0e434b198fd285c34f71815ef4e7254aa0db0.tar.gz chromium_src-45f0e434b198fd285c34f71815ef4e7254aa0db0.tar.bz2 |
Add tests for the geolocation network provider.
Also some small tidy up a few other files.
BUG=http://crbug.com/11246
TEST=unit_tests.exe --gtest_filter=NetworkLocationProvider* --gtest_break_on_failure
Review URL: http://codereview.chromium.org/556106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/location_provider.h')
-rw-r--r-- | chrome/browser/geolocation/location_provider.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/location_provider.h b/chrome/browser/geolocation/location_provider.h index 762ccb1..a9960805 100644 --- a/chrome/browser/geolocation/location_provider.h +++ b/chrome/browser/geolocation/location_provider.h @@ -49,14 +49,14 @@ class LocationProviderBase // Used to inform listener that a new position fix is available or that a // fatal error has occurred. Providers should call this for new listeners // as soon as a position is available. - virtual bool LocationUpdateAvailable(LocationProviderBase* provider) = 0; + virtual void LocationUpdateAvailable(LocationProviderBase* provider) = 0; // Used to inform listener that movement has been detected. If obtaining the // position succeeds, this will be followed by a call to // LocationUpdateAvailable. Some providers may not be able to detect // movement before a new fix is obtained, so will never call this method. // Note that this is not called in response to registration of a new // listener. - virtual bool MovementDetected(LocationProviderBase* provider) = 0; + virtual void MovementDetected(LocationProviderBase* provider) = 0; protected: virtual ~ListenerInterface() {} |