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

Unified Diff: content/public/common/geoposition.cc

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
« no previous file with comments | « content/public/common/geoposition.h ('k') | content/public/test/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/geoposition.cc
diff --git a/device/geolocation/geoposition.cc b/content/public/common/geoposition.cc
similarity index 93%
rename from device/geolocation/geoposition.cc
rename to content/public/common/geoposition.cc
index a97183007e65a5b9b825482dc463ff99a79b0da5..d885d4e539c4891e9b4f16925d59a77c27598939 100644
--- a/device/geolocation/geoposition.cc
+++ b/content/public/common/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 "device/geolocation/geoposition.h"
+#include "content/public/common/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 device {
+namespace content {
Geoposition::Geoposition()
: latitude(kBadLatitudeLongitude),
@@ -38,4 +38,4 @@ bool Geoposition::Validate() const {
!timestamp.is_null();
}
-} // namespace device
+} // namespace content
« no previous file with comments | « content/public/common/geoposition.h ('k') | content/public/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698