Replace DeviceDataProvider with the non-templated WifiDataProvider.
commit296a9999fb46f314cfcc5492265273d99e6ced5c
authormvanouwerkerk@chromium.org <mvanouwerkerk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 23 Aug 2013 15:01:17 +0000 (23 15:01 +0000)
committermvanouwerkerk@chromium.org <mvanouwerkerk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 23 Aug 2013 15:01:17 +0000 (23 15:01 +0000)
treefd6b1d2e11937ef1b0988ee23f994c54b48cbd4e
parentdda540b9975640716d72b9b954750541a826f2c2
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
27 files changed:
content/browser/geolocation/device_data_provider.h [deleted file]
content/browser/geolocation/device_data_provider_unittest.cc [deleted file]
content/browser/geolocation/empty_device_data_provider.cc [deleted file]
content/browser/geolocation/empty_device_data_provider.h [deleted file]
content/browser/geolocation/empty_wifi_data_provider.cc [new file with mode: 0644]
content/browser/geolocation/empty_wifi_data_provider.h [new file with mode: 0644]
content/browser/geolocation/network_location_provider.cc
content/browser/geolocation/network_location_provider.h
content/browser/geolocation/network_location_provider_unittest.cc
content/browser/geolocation/network_location_request.cc
content/browser/geolocation/network_location_request.h
content/browser/geolocation/wifi_data.cc [moved from content/browser/geolocation/device_data_provider.cc with 76% similarity]
content/browser/geolocation/wifi_data.h [new file with mode: 0644]
content/browser/geolocation/wifi_data_provider.cc [new file with mode: 0644]
content/browser/geolocation/wifi_data_provider.h [new file with mode: 0644]
content/browser/geolocation/wifi_data_provider_chromeos.cc
content/browser/geolocation/wifi_data_provider_chromeos.h
content/browser/geolocation/wifi_data_provider_common.cc
content/browser/geolocation/wifi_data_provider_common.h
content/browser/geolocation/wifi_data_provider_common_unittest.cc
content/browser/geolocation/wifi_data_provider_common_win.cc
content/browser/geolocation/wifi_data_provider_common_win.h
content/browser/geolocation/wifi_data_provider_linux.cc
content/browser/geolocation/wifi_data_provider_mac.cc
content/browser/geolocation/wifi_data_provider_win.cc
content/content_browser.gypi
content/content_tests.gypi