Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: chrome/browser/geolocation/location_provider.h

Issue 570006: Revert 37989 - unit test failed on Mac builder despite passing on try server... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/geolocation/location_provider.h
===================================================================
--- chrome/browser/geolocation/location_provider.h (revision 37991)
+++ chrome/browser/geolocation/location_provider.h (working copy)
@@ -49,14 +49,14 @@
// 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() {}

Powered by Google App Engine
This is Rietveld 408576698