Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: device/geolocation/empty_wifi_data_provider.h

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/geolocation/empty_wifi_data_provider.h
diff --git a/device/geolocation/empty_wifi_data_provider.h b/device/geolocation/empty_wifi_data_provider.h
deleted file mode 100644
index 816aa97c59f8e7c1a49331a16de2f50b11bd7f91..0000000000000000000000000000000000000000
--- a/device/geolocation/empty_wifi_data_provider.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef DEVICE_GEOLOCATION_EMPTY_WIFI_DATA_PROVIDER_H_
-#define DEVICE_GEOLOCATION_EMPTY_WIFI_DATA_PROVIDER_H_
-
-#include "base/macros.h"
-#include "device/geolocation/wifi_data_provider.h"
-
-namespace device {
-
-// An implementation of WifiDataProvider that does not provide any
-// data. Used on platforms where a real implementation is not available.
-class EmptyWifiDataProvider : public WifiDataProvider {
- public:
- EmptyWifiDataProvider();
-
- // WifiDataProvider implementation
- void StartDataProvider() override { }
- void StopDataProvider() override { }
- bool GetData(WifiData* data) override;
-
- private:
- ~EmptyWifiDataProvider() override;
-
- DISALLOW_COPY_AND_ASSIGN(EmptyWifiDataProvider);
-};
-
-} // namespace device
-
-#endif // DEVICE_GEOLOCATION_EMPTY_WIFI_DATA_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698