summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/empty_device_data_provider.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-28 17:33:30 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-28 17:33:30 +0000
commit87678d99076f7ba81b868e02165dbe757447b482 (patch)
treed181d46f839e3e6dd3c28fa097acf7f81494cdb3 /chrome/browser/geolocation/empty_device_data_provider.cc
parentf6103553cf480bf15177ba4ba5627fa74d621cc4 (diff)
downloadchromium_src-87678d99076f7ba81b868e02165dbe757447b482.zip
chromium_src-87678d99076f7ba81b868e02165dbe757447b482.tar.gz
chromium_src-87678d99076f7ba81b868e02165dbe757447b482.tar.bz2
Move core pieces of geolocation from chrome to content.This is a rough carving in some places. i.e. geolocation_permission_context.h needs to split into the interface part and the implementation part. access_token_store.h needs to drop the chrome factory function. arbitrator_dependency_factory.h needs to be split up into the interface and the default implementation. I've left all this to future changes per the other file moves, and since this is already pretty large.TBR=joth
Review URL: http://codereview.chromium.org/6591034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/empty_device_data_provider.cc')
-rw-r--r--chrome/browser/geolocation/empty_device_data_provider.cc30
1 files changed, 0 insertions, 30 deletions
diff --git a/chrome/browser/geolocation/empty_device_data_provider.cc b/chrome/browser/geolocation/empty_device_data_provider.cc
deleted file mode 100644
index 2b95c88..0000000
--- a/chrome/browser/geolocation/empty_device_data_provider.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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"
-
-// No platform has (cellular) radio data provider yet.
-// static
-template<>
-RadioDataProviderImplBase* RadioDataProvider::DefaultFactoryFunction() {
- return new EmptyDeviceDataProvider<RadioData>();
-}
-
-// Only define for platforms that lack a real wifi data provider.
-#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX)
-// static
-template<>
-WifiDataProviderImplBase* WifiDataProvider::DefaultFactoryFunction() {
- return new EmptyDeviceDataProvider<WifiData>();
-}
-#endif
-
-// Only define for platforms that lack a real gateway data provider.
-#if !defined(OS_LINUX) && !defined(OS_WIN)
-// static
-template<>
-GatewayDataProviderImplBase* GatewayDataProvider::DefaultFactoryFunction() {
- return new EmptyDeviceDataProvider<GatewayData>();
-}
-#endif