summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/wifi_data_provider_common.cc
diff options
context:
space:
mode:
authormvanouwerkerk@chromium.org <mvanouwerkerk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 15:01:17 +0000
committermvanouwerkerk@chromium.org <mvanouwerkerk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 15:01:17 +0000
commit296a9999fb46f314cfcc5492265273d99e6ced5c (patch)
treefd6b1d2e11937ef1b0988ee23f994c54b48cbd4e /content/browser/geolocation/wifi_data_provider_common.cc
parentdda540b9975640716d72b9b954750541a826f2c2 (diff)
downloadchromium_src-296a9999fb46f314cfcc5492265273d99e6ced5c.zip
chromium_src-296a9999fb46f314cfcc5492265273d99e6ced5c.tar.gz
chromium_src-296a9999fb46f314cfcc5492265273d99e6ced5c.tar.bz2
Replace DeviceDataProvider with the non-templated WifiDataProvider.
Also replace DeviceDataProvider::ListenerInterface with WifiDataProvider::WifiDataUpdateCallback. I would have preferred to do that as a separate change, but removing the templating revealed a nasty circular dependency that involved this nested class, which made forward declarations impossible. So, all in one go then. I also deleted device_data_provider_unittest.cc as its purpose was to test for threading failures. These data providers no longer start their own threads, see https://codereview.chromium.org/22866005/ BUG=103713 TBR=jam Review URL: https://chromiumcodereview.appspot.com/23181009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation/wifi_data_provider_common.cc')
-rw-r--r--content/browser/geolocation/wifi_data_provider_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/geolocation/wifi_data_provider_common.cc b/content/browser/geolocation/wifi_data_provider_common.cc
index 9132752..31f969c 100644
--- a/content/browser/geolocation/wifi_data_provider_common.cc
+++ b/content/browser/geolocation/wifi_data_provider_common.cc
@@ -75,7 +75,7 @@ void WifiDataProviderCommon::DoWifiScanTask() {
}
if (update_available || !is_first_scan_complete_) {
is_first_scan_complete_ = true;
- NotifyListeners();
+ RunCallbacks();
}
}