Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/geolocation/empty_device_data_provider.h" | 5 #include "content/browser/geolocation/empty_device_data_provider.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 // Only define for platforms that lack a real wifi data provider. | 9 // Only define for platforms that lack a real wifi data provider. |
|
joth
2013/03/03 19:43:55
this comment is orphaned without the #if below it.
Mostyn Bramley-Moore
2013/03/03 21:19:35
Done.
| |
| 10 #if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) | 10 |
| 11 // static | 11 // static |
| 12 template<> | 12 template<> |
| 13 WifiDataProviderImplBase* WifiDataProvider::DefaultFactoryFunction() { | 13 WifiDataProviderImplBase* WifiDataProvider::DefaultFactoryFunction() { |
| 14 return new EmptyDeviceDataProvider<WifiData>(); | 14 return new EmptyDeviceDataProvider<WifiData>(); |
| 15 } | 15 } |
| 16 #endif | |
| 17 | 16 |
| 18 } // namespace content | 17 } // namespace content |
| OLD | NEW |