blob: 0a4df8b395fd0cef26d199ded8502c79f64f5fe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/geolocation/empty_device_data_provider.h"
// static
template<>
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
|