Chromium Code Reviews| 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 60c9ac57a905d817611ca6e92531187aaa508083..0320689b8dc1b66e56f51db9f035e4cdb3fcedab 100644 |
| --- a/content/browser/geolocation/location_arbitrator_impl.h |
| +++ b/content/browser/geolocation/location_arbitrator_impl.h |
| @@ -8,6 +8,7 @@ |
| #include <stdint.h> |
| #include "base/callback_forward.h" |
| +#include "base/cancelable_callback.h" |
| #include "base/macros.h" |
| #include "base/memory/scoped_vector.h" |
| #include "base/strings/string16.h" |
| @@ -68,6 +69,10 @@ class CONTENT_EXPORT LocationArbitratorImpl : public LocationArbitrator { |
| // Takes ownership of |provider| on entry; it will either be added to |
| // |providers_| or deleted on error (e.g. it fails to start). |
| void RegisterProvider(LocationProvider* provider); |
| + |
| + // Checks for either an override or a system location provider and |
| + // calls RegisterProvider for it. |
| + void RegisterSystemProvider(); |
|
Wez
2016/06/10 23:40:34
nit: If you're going to have a per-function commen
CJ
2016/06/13 23:45:20
Done.
|
| void OnAccessTokenStoresLoaded( |
| AccessTokenStore::AccessTokenMap access_token_map, |
| net::URLRequestContextGetter* context_getter); |
| @@ -87,6 +92,9 @@ class CONTENT_EXPORT LocationArbitratorImpl : public LocationArbitrator { |
| scoped_refptr<AccessTokenStore> access_token_store_; |
| LocationUpdateCallback arbitrator_update_callback_; |
| LocationProvider::LocationProviderUpdateCallback provider_update_callback_; |
| + base::CancelableCallback<void(AccessTokenStore::AccessTokenMap, |
| + net::URLRequestContextGetter*)> |
| + token_store_callback_; |
| ScopedVector<LocationProvider> providers_; |
| bool enable_high_accuracy_; |
| // The provider which supplied the current |position_| |