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

Unified Diff: device/geolocation/wifi_data_provider_linux.cc

Issue 2185993003: Reland: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make geolocation.gyp a component and define DEVICE_GEOLOCATION_IMPLEMENTATION 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/wifi_data_provider_linux.cc
diff --git a/content/browser/geolocation/wifi_data_provider_linux.cc b/device/geolocation/wifi_data_provider_linux.cc
similarity index 98%
rename from content/browser/geolocation/wifi_data_provider_linux.cc
rename to device/geolocation/wifi_data_provider_linux.cc
index f0afc66d9bb9873d6953817295b9a8c9c165c89a..578441a8acdaa71671007cdb74b3bc2e359291aa 100644
--- a/content/browser/geolocation/wifi_data_provider_linux.cc
+++ b/device/geolocation/wifi_data_provider_linux.cc
@@ -6,7 +6,7 @@
// Currently, only the NetworkManager API is used, accessed via D-Bus (in turn
// accessed via the GLib wrapper).
-#include "content/browser/geolocation/wifi_data_provider_linux.h"
+#include "device/geolocation/wifi_data_provider_linux.h"
#include <stddef.h>
#include <stdint.h>
@@ -16,13 +16,13 @@
#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
-#include "content/browser/geolocation/wifi_data_provider_manager.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
+#include "device/geolocation/wifi_data_provider_manager.h"
-namespace content {
+namespace device {
namespace {
// The time periods between successive polls of the wifi data.
const int kDefaultPollingIntervalMilliseconds = 10 * 1000; // 10s
@@ -378,4 +378,4 @@ WifiDataProviderLinux::NewWlanApiForTesting(dbus::Bus* bus) {
return NULL;
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/wifi_data_provider_linux.h ('k') | device/geolocation/wifi_data_provider_linux_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698