summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/gps_location_provider_linux.h
diff options
context:
space:
mode:
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 20:48:35 +0000
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 20:48:35 +0000
commit9fc4dabfb2dd3f2f7e9da2af8ae9f41b469e68f9 (patch)
tree3fd3f6a5d05d6c8755b8658a22de2b2a8acbfdd4 /content/browser/geolocation/gps_location_provider_linux.h
parentbfde7449259ccf84393fd6751fca30ea36eb0368 (diff)
downloadchromium_src-9fc4dabfb2dd3f2f7e9da2af8ae9f41b469e68f9.zip
chromium_src-9fc4dabfb2dd3f2f7e9da2af8ae9f41b469e68f9.tar.gz
chromium_src-9fc4dabfb2dd3f2f7e9da2af8ae9f41b469e68f9.tar.bz2
Make the Geoposition helper struct public
This CL moves the Geoposition struct from content/common to public/content/common.h so that it can be shared by content and browser. The struct is placed in the |content| namespace and as required by the style guide, all methods except the constructor and Validate() are removed. This paves the way for a follow-up CL in which the content will provide geolocation information to the browser. BUG=chromium-os:22036 TEST=Chrome and tests build, run Review URL: http://codereview.chromium.org/10316007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation/gps_location_provider_linux.h')
-rw-r--r--content/browser/geolocation/gps_location_provider_linux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/geolocation/gps_location_provider_linux.h b/content/browser/geolocation/gps_location_provider_linux.h
index c004e06..2cb4c82 100644
--- a/content/browser/geolocation/gps_location_provider_linux.h
+++ b/content/browser/geolocation/gps_location_provider_linux.h
@@ -16,7 +16,7 @@
#include "base/memory/weak_ptr.h"
#include "content/browser/geolocation/location_provider.h"
#include "content/common/content_export.h"
-#include "content/common/geoposition.h"
+#include "content/public/common/geoposition.h"
class LibGps;
@@ -46,7 +46,7 @@ class CONTENT_EXPORT GpsLocationProviderLinux : public LocationProviderBase {
// LocationProvider
virtual bool StartProvider(bool high_accuracy) OVERRIDE;
virtual void StopProvider() OVERRIDE;
- virtual void GetPosition(Geoposition* position) OVERRIDE;
+ virtual void GetPosition(content::Geoposition* position) OVERRIDE;
virtual void UpdatePosition() OVERRIDE;
private:
@@ -62,7 +62,7 @@ class CONTENT_EXPORT GpsLocationProviderLinux : public LocationProviderBase {
const LibGpsFactory libgps_factory_;
scoped_ptr<LibGps> gps_;
- Geoposition position_;
+ content::Geoposition position_;
// Holder for the tasks which run on the thread; takes care of cleanup.
base::WeakPtrFactory<GpsLocationProviderLinux> weak_factory_;