| Index: device/geolocation/wifi_data_provider_chromeos.h
|
| diff --git a/device/geolocation/wifi_data_provider_chromeos.h b/device/geolocation/wifi_data_provider_chromeos.h
|
| index 04ad9c43b4480d4f2405a91e4858f61383622207..f9630f6fc634161bfabc8ae4ef77b0fedd19767a 100644
|
| --- a/device/geolocation/wifi_data_provider_chromeos.h
|
| +++ b/device/geolocation/wifi_data_provider_chromeos.h
|
| @@ -12,10 +12,6 @@
|
| #include "device/geolocation/wifi_data_provider.h"
|
| #include "device/geolocation/wifi_polling_policy.h"
|
|
|
| -namespace base {
|
| -class SingleThreadTaskRunner;
|
| -}
|
| -
|
| namespace device {
|
|
|
| class DEVICE_GEOLOCATION_EXPORT WifiDataProviderChromeOs
|
| @@ -32,9 +28,8 @@ class DEVICE_GEOLOCATION_EXPORT WifiDataProviderChromeOs
|
| friend class GeolocationChromeOsWifiDataProviderTest;
|
| ~WifiDataProviderChromeOs() override;
|
|
|
| - // UI thread
|
| - void DoWifiScanTaskOnUIThread(); // The polling task
|
| - void DoStartTaskOnUIThread();
|
| + // NetworkHandler thread
|
| + void DoWifiScanTaskOnNetworkHandlerThread();
|
|
|
| // Client thread
|
| void DidWifiScanTaskNoResults();
|
| @@ -64,9 +59,6 @@ class DEVICE_GEOLOCATION_EXPORT WifiDataProviderChromeOs
|
| // Whether we've successfully completed a scan for WiFi data. (client thread)
|
| bool is_first_scan_complete_;
|
|
|
| - // Used to PostTask()s from the geolocation thread to creation thread.
|
| - const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(WifiDataProviderChromeOs);
|
| };
|
|
|
|
|