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

Unified Diff: content/browser/geolocation/location_arbitrator_impl.h

Issue 477633002: Rename various Geolocation bits for clarity and consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more rename. Created 6 years, 4 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: content/browser/geolocation/location_arbitrator_impl.h
diff --git a/content/browser/geolocation/location_arbitrator_impl.h b/content/browser/geolocation/location_arbitrator_impl.h
index da20e7b1889ddea2629f11c53a209e90213a5382..21ba90e98e394f28f5d15ecdbc576e6965805ec6 100644
--- a/content/browser/geolocation/location_arbitrator_impl.h
+++ b/content/browser/geolocation/location_arbitrator_impl.h
@@ -70,9 +70,9 @@ class CONTENT_EXPORT LocationArbitratorImpl : public LocationArbitrator {
net::URLRequestContextGetter* context_getter);
void DoStartProviders();
- // The providers call this function when a new position is available.
- void LocationUpdateAvailable(const LocationProvider* provider,
- const Geoposition& new_position);
+ // Gets called when a provider has a new position.
+ void OnLocationUpdate(const LocationProvider* provider,
+ const Geoposition& new_position);
// Returns true if |new_position| is an improvement over |old_position|.
// Set |from_same_provider| to true if both the positions came from the same
@@ -82,8 +82,8 @@ class CONTENT_EXPORT LocationArbitratorImpl : public LocationArbitrator {
bool from_same_provider) const;
scoped_refptr<AccessTokenStore> access_token_store_;
- LocationUpdateCallback callback_;
- LocationProvider::LocationProviderUpdateCallback provider_callback_;
+ LocationUpdateCallback arbitrator_update_callback_;
+ LocationProvider::LocationProviderUpdateCallback provider_update_callback_;
ScopedVector<LocationProvider> providers_;
bool use_high_accuracy_;
// The provider which supplied the current |position_|

Powered by Google App Engine
This is Rietveld 408576698