| Index: content/browser/geolocation/empty_device_data_provider.h
|
| diff --git a/content/browser/geolocation/empty_device_data_provider.h b/content/browser/geolocation/empty_device_data_provider.h
|
| index bf759ab76959287fb634b2acdb4d44d97bac2f78..9924c3484ff61ba443f33bb25e129e9f115346ee 100644
|
| --- a/content/browser/geolocation/empty_device_data_provider.h
|
| +++ b/content/browser/geolocation/empty_device_data_provider.h
|
| @@ -6,13 +6,12 @@
|
| #define CONTENT_BROWSER_GEOLOCATION_EMPTY_DEVICE_DATA_PROVIDER_H_
|
| #pragma once
|
|
|
| -#include "content/browser/geolocation/device_data_provider.h"
|
| +#include "content/browser/geolocation/wifi_data_provider.h"
|
|
|
| // An implementation of DeviceDataProviderImplBase that does not provide any
|
| // data. Used on platforms where a given data type is not available.
|
|
|
| -template<typename DataType>
|
| -class EmptyDeviceDataProvider : public DeviceDataProviderImplBase<DataType> {
|
| +class EmptyDeviceDataProvider : public WifiDataProviderImplBase {
|
| public:
|
| EmptyDeviceDataProvider() {}
|
| virtual ~EmptyDeviceDataProvider() {}
|
| @@ -20,7 +19,7 @@ class EmptyDeviceDataProvider : public DeviceDataProviderImplBase<DataType> {
|
| // DeviceDataProviderImplBase implementation
|
| virtual bool StartDataProvider() { return true; }
|
| virtual void StopDataProvider() { }
|
| - virtual bool GetData(DataType *data) {
|
| + virtual bool GetData(WifiData *data) {
|
| DCHECK(data);
|
| // This is all the data we can get - nothing.
|
| return true;
|
|
|