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

Unified Diff: content/browser/geolocation/mock_location_provider.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/mock_location_provider.h
diff --git a/content/browser/geolocation/mock_location_provider.h b/content/browser/geolocation/mock_location_provider.h
index 69411c3bade178ed9088511f99e2e7a076572c62..70a49ca3e32a178610643eb089c02de847d7310a 100644
--- a/content/browser/geolocation/mock_location_provider.h
+++ b/content/browser/geolocation/mock_location_provider.h
@@ -11,7 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/threading/thread.h"
#include "content/browser/geolocation/location_provider.h"
-#include "content/common/geoposition.h"
+#include "content/public/common/geoposition.h"
// Mock implementation of a location provider for testing.
class MockLocationProvider : public LocationProviderBase {
@@ -22,15 +22,15 @@ class MockLocationProvider : public LocationProviderBase {
virtual ~MockLocationProvider();
// Updates listeners with the new position.
- void HandlePositionChanged(const Geoposition& position);
+ void HandlePositionChanged(const content::Geoposition& position);
// LocationProviderBase implementation.
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 OnPermissionGranted() OVERRIDE;
- Geoposition position_;
+ content::Geoposition position_;
enum State { STOPPED, LOW_ACCURACY, HIGH_ACCURACY } state_;
bool is_permission_granted_;
MockLocationProvider** self_ref_;
« no previous file with comments | « content/browser/geolocation/location_provider.h ('k') | content/browser/geolocation/mock_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698