Remove PlatformFile from profile_browsertest
[chromium-blink-merge.git] / content / browser / geolocation / empty_wifi_data_provider.cc
blobd24213155d51329f49651d3bf8f5e063dac23fae
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/browser/geolocation/empty_wifi_data_provider.h"
7 namespace content {
9 EmptyWifiDataProvider::EmptyWifiDataProvider() {
12 EmptyWifiDataProvider::~EmptyWifiDataProvider() {
15 bool EmptyWifiDataProvider::GetData(WifiData* data) {
16 DCHECK(data);
17 // This is all the data we can get - nothing.
18 return true;
21 // static
22 WifiDataProviderImplBase* WifiDataProvider::DefaultFactoryFunction() {
23 return new EmptyWifiDataProvider();
26 } // namespace content