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

Unified Diff: device/geolocation/wifi_data_provider_common.cc

Issue 2192683002: Reland 2:Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore size_t_to_int truncation warning 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_common.cc
diff --git a/content/browser/geolocation/wifi_data_provider_common.cc b/device/geolocation/wifi_data_provider_common.cc
similarity index 96%
rename from content/browser/geolocation/wifi_data_provider_common.cc
rename to device/geolocation/wifi_data_provider_common.cc
index 572455a6c4f3c1b1bf7797ecd1c645f4d7004f4e..e5ac86fadc2094a0e2982865e16c3f260bc2d83a 100644
--- a/content/browser/geolocation/wifi_data_provider_common.cc
+++ b/device/geolocation/wifi_data_provider_common.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/geolocation/wifi_data_provider_common.h"
+#include "device/geolocation/wifi_data_provider_common.h"
#include "base/bind.h"
#include "base/location.h"
@@ -10,7 +10,7 @@
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
-namespace content {
+namespace device {
base::string16 MacAddressAsString16(const uint8_t mac_as_int[6]) {
// mac_as_int is big-endian. Write in byte chunks.
@@ -88,4 +88,4 @@ void WifiDataProviderCommon::ScheduleNextScan(int interval) {
base::TimeDelta::FromMilliseconds(interval));
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/wifi_data_provider_common.h ('k') | device/geolocation/wifi_data_provider_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698