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

Unified Diff: device/geolocation/geoposition.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
« no previous file with comments | « device/geolocation/geoposition.h ('k') | device/geolocation/location_api_adapter_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geoposition.cc
diff --git a/content/public/common/geoposition.cc b/device/geolocation/geoposition.cc
similarity index 93%
rename from content/public/common/geoposition.cc
rename to device/geolocation/geoposition.cc
index d885d4e539c4891e9b4f16925d59a77c27598939..a97183007e65a5b9b825482dc463ff99a79b0da5 100644
--- a/content/public/common/geoposition.cc
+++ b/device/geolocation/geoposition.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/public/common/geoposition.h"
+#include "device/geolocation/geoposition.h"
namespace {
// Sentinel values to mark invalid data. (WebKit carries companion is_valid
@@ -16,7 +16,7 @@ const int kBadHeading = -1; // Heading must be non-negative.
const int kBadSpeed = -1;
}
-namespace content {
+namespace device {
Geoposition::Geoposition()
: latitude(kBadLatitudeLongitude),
@@ -38,4 +38,4 @@ bool Geoposition::Validate() const {
!timestamp.is_null();
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/geoposition.h ('k') | device/geolocation/location_api_adapter_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698