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

Unified Diff: content/browser/geolocation/win7_location_provider_win.h

Issue 10316007: Make the Geoposition helper class public (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix forward-declaration of struct as class. Created 8 years, 8 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: content/browser/geolocation/win7_location_provider_win.h
diff --git a/content/browser/geolocation/win7_location_provider_win.h b/content/browser/geolocation/win7_location_provider_win.h
index 1a918e75856b7cd297e0ebe67c2c340a82a835af..ae14be73875c5a0c2a4268ba82a4cedbb225c769 100644
--- a/content/browser/geolocation/win7_location_provider_win.h
+++ b/content/browser/geolocation/win7_location_provider_win.h
@@ -11,7 +11,7 @@
#include "content/browser/geolocation/location_provider.h"
#include "content/browser/geolocation/win7_location_api_win.h"
#include "content/common/content_export.h"
-#include "content/common/geoposition.h"
+#include "content/public/common/geoposition.h"
// Location provider for Windows 7 that uses the Location and Sensors platform
// to obtain position fixes.
@@ -27,7 +27,7 @@ class CONTENT_EXPORT Win7LocationProvider : 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:
@@ -37,7 +37,7 @@ class CONTENT_EXPORT Win7LocationProvider : public LocationProviderBase {
void ScheduleNextPoll(int interval);
scoped_ptr<Win7LocationApi> api_;
- Geoposition position_;
+ content::Geoposition position_;
// Holder for the tasks which run on the thread; takes care of cleanup.
base::WeakPtrFactory<Win7LocationProvider> weak_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698