| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/geolocation/empty_device_data_provider.h" | 5 #include "chrome/browser/geolocation/empty_device_data_provider.h" |
| 6 | 6 |
| 7 // No platform has (cellular) radio data provider yet. | 7 // No platform has (cellular) radio data provider yet. |
| 8 // static | 8 // static |
| 9 template<> | 9 template<> |
| 10 RadioDataProviderImplBase* RadioDataProvider::DefaultFactoryFunction() { | 10 RadioDataProviderImplBase* RadioDataProvider::DefaultFactoryFunction() { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 // Only define for platforms that lack a real gateway data provider. | 23 // Only define for platforms that lack a real gateway data provider. |
| 24 #if !defined(OS_LINUX) && !defined(OS_WIN) | 24 #if !defined(OS_LINUX) && !defined(OS_WIN) |
| 25 // static | 25 // static |
| 26 template<> | 26 template<> |
| 27 GatewayDataProviderImplBase* GatewayDataProvider::DefaultFactoryFunction() { | 27 GatewayDataProviderImplBase* GatewayDataProvider::DefaultFactoryFunction() { |
| 28 return new EmptyDeviceDataProvider<GatewayData>(); | 28 return new EmptyDeviceDataProvider<GatewayData>(); |
| 29 } | 29 } |
| 30 #endif | 30 #endif |
| OLD | NEW |