| Index: chrome/browser/geolocation/empty_device_data_provider.cc
|
| ===================================================================
|
| --- chrome/browser/geolocation/empty_device_data_provider.cc (revision 37850)
|
| +++ chrome/browser/geolocation/empty_device_data_provider.cc (working copy)
|
| @@ -6,6 +6,15 @@
|
|
|
| // static
|
| template<>
|
| -RadioDataProviderImplBase *RadioDataProvider::DefaultFactoryFunction() {
|
| +RadioDataProviderImplBase* RadioDataProvider::DefaultFactoryFunction() {
|
| return new EmptyDeviceDataProvider<RadioData>();
|
| }
|
| +
|
| +// Windows has a real wifi data provider.
|
| +#if !defined(OS_WIN)
|
| +// static
|
| +template<>
|
| +WifiDataProviderImplBase* WifiDataProvider::DefaultFactoryFunction() {
|
| + return new EmptyDeviceDataProvider<WifiData>();
|
| +}
|
| +#endif
|
|
|