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

Unified Diff: content/public/common/geoposition.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
« no previous file with comments | « content/public/browser/location_provider.h ('k') | content/public/common/geoposition.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/geoposition.h
diff --git a/device/geolocation/geoposition.h b/content/public/common/geoposition.h
similarity index 88%
rename from device/geolocation/geoposition.h
rename to content/public/common/geoposition.h
index 55006c5786dcd3fce71d6364961a118cf413bd6b..23b29078e1555a082090282fef50a51487ee31f3 100644
--- a/device/geolocation/geoposition.h
+++ b/content/public/common/geoposition.h
@@ -6,17 +6,17 @@
// fix. It was originally derived from:
// http://gears.googlecode.com/svn/trunk/gears/geolocation/geolocation.h
-#ifndef DEVICE_GEOLOCATION_GEOPOSITION_H_
-#define DEVICE_GEOLOCATION_GEOPOSITION_H_
+#ifndef CONTENT_PUBLIC_COMMON_GEOPOSITION_H_
+#define CONTENT_PUBLIC_COMMON_GEOPOSITION_H_
#include <string>
#include "base/time/time.h"
-#include "device/geolocation/geolocation_export.h"
+#include "content/common/content_export.h"
-namespace device {
+namespace content {
-struct DEVICE_GEOLOCATION_EXPORT Geoposition {
+struct CONTENT_EXPORT Geoposition {
public:
// These values follow the W3C geolocation specification and can be returned
// to JavaScript without the need for a conversion.
@@ -64,6 +64,6 @@ struct DEVICE_GEOLOCATION_EXPORT Geoposition {
std::string error_message;
};
-} // namespace device
+} // namespace content
-#endif // DEVICE_GEOLOCATION_GEOPOSITION_H_
+#endif // CONTENT_PUBLIC_COMMON_GEOPOSITION_H_
« no previous file with comments | « content/public/browser/location_provider.h ('k') | content/public/common/geoposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698