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

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

Issue 10534120: Remove RadioData from geolocation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix content_unittests Created 8 years, 6 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/network_location_provider.h
diff --git a/content/browser/geolocation/network_location_provider.h b/content/browser/geolocation/network_location_provider.h
index 050be605d085797bcacb71800d5ffbf59858d047..87117c1cf2f464bc7ebd67379a99495cee6d702b 100644
--- a/content/browser/geolocation/network_location_provider.h
+++ b/content/browser/geolocation/network_location_provider.h
@@ -26,7 +26,6 @@ class AccessTokenStore;
class NetworkLocationProvider
: public LocationProviderBase,
- public RadioDataProvider::ListenerInterface,
public WifiDataProvider::ListenerInterface,
public NetworkLocationRequest::ListenerInterface {
public:
@@ -90,26 +89,21 @@ class NetworkLocationProvider
bool IsStarted() const;
// DeviceDataProvider::ListenerInterface implementation.
- virtual void DeviceDataUpdateAvailable(RadioDataProvider* provider) OVERRIDE;
virtual void DeviceDataUpdateAvailable(WifiDataProvider* provider) OVERRIDE;
// NetworkLocationRequest::ListenerInterface implementation.
virtual void LocationResponseAvailable(const content::Geoposition& position,
bool server_error,
const string16& access_token,
- const RadioData& radio_data,
const WifiData& wifi_data) OVERRIDE;
scoped_refptr<content::AccessTokenStore> access_token_store_;
- // The device data providers, acquired via global factories.
- RadioDataProvider* radio_data_provider_;
+ // The wifi data provider, acquired via global factories.
WifiDataProvider* wifi_data_provider_;
- // The radio and wifi data, flags to indicate if each data set is complete.
- RadioData radio_data_;
+ // The wifi data, flags to indicate if the data set is complete.
WifiData wifi_data_;
- bool is_radio_data_complete_;
bool is_wifi_data_complete_;
// The timestamp for the latest device data update.
« no previous file with comments | « content/browser/geolocation/empty_device_data_provider.cc ('k') | content/browser/geolocation/network_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698