summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/location_provider.h
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 19:05:29 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 19:05:29 +0000
commit262eb2c897b956c8f7cc518ff45437a206f8ffb5 (patch)
tree600d7150606d9b057a073a568c139b4f5979ea93 /chrome/browser/geolocation/location_provider.h
parent2b5b413290daa6101fb1778363ce93950aa6ecf2 (diff)
downloadchromium_src-262eb2c897b956c8f7cc518ff45437a206f8ffb5.zip
chromium_src-262eb2c897b956c8f7cc518ff45437a206f8ffb5.tar.gz
chromium_src-262eb2c897b956c8f7cc518ff45437a206f8ffb5.tar.bz2
Revert 37989 - unit test failed on Mac builder despite passing on try server
Original change: 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 TBR=joth@chromium.org Review URL: http://codereview.chromium.org/570006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/location_provider.h')
-rw-r--r--chrome/browser/geolocation/location_provider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/location_provider.h b/chrome/browser/geolocation/location_provider.h
index a9960805..762ccb1 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 void LocationUpdateAvailable(LocationProviderBase* provider) = 0;
+ virtual bool 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 void MovementDetected(LocationProviderBase* provider) = 0;
+ virtual bool MovementDetected(LocationProviderBase* provider) = 0;
protected:
virtual ~ListenerInterface() {}