diff options
Diffstat (limited to 'chrome/browser/geolocation/network_location_provider.h')
-rw-r--r-- | chrome/browser/geolocation/network_location_provider.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/chrome/browser/geolocation/network_location_provider.h b/chrome/browser/geolocation/network_location_provider.h index 93072fa..c03d5c4 100644 --- a/chrome/browser/geolocation/network_location_provider.h +++ b/chrome/browser/geolocation/network_location_provider.h @@ -26,14 +26,14 @@ class NetworkLocationProvider NetworkLocationProvider(AccessTokenStore* access_token_store, URLRequestContextGetter* context, const GURL& url, - const string16& access_token, - const string16& host_name); + const string16& access_token); virtual ~NetworkLocationProvider(); // LocationProviderBase implementation virtual bool StartProvider(); virtual void GetPosition(Geoposition *position); virtual void UpdatePosition(); + virtual void OnPermissionGranted(const GURL& requesting_frame); private: // PositionCache is an implementation detail of NetworkLocationProvider. @@ -52,7 +52,9 @@ class NetworkLocationProvider // NetworkLocationRequest::ListenerInterface implementation. virtual void LocationResponseAvailable(const Geoposition& position, bool server_error, - const string16& access_token); + const string16& access_token, + const RadioData& radio_data, + const WifiData& wifi_data); scoped_refptr<AccessTokenStore> access_token_store_; @@ -78,6 +80,8 @@ class NetworkLocationProvider bool is_new_data_available_; + std::string most_recent_authorized_host_; + // The network location request object, and the url it uses. scoped_ptr<NetworkLocationRequest> request_; |