summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/geolocation_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/geolocation/geolocation_provider.h')
-rw-r--r--content/browser/geolocation/geolocation_provider.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/geolocation/geolocation_provider.h b/content/browser/geolocation/geolocation_provider.h
index 0f3db353..c57e692 100644
--- a/content/browser/geolocation/geolocation_provider.h
+++ b/content/browser/geolocation/geolocation_provider.h
@@ -10,6 +10,7 @@
#include "base/threading/thread.h"
#include "content/browser/geolocation/geolocation_observer.h"
+#include "content/common/content_export.h"
#include "content/common/geoposition.h"
#include "googleurl/src/gurl.h"
@@ -41,7 +42,7 @@ class GeolocationProvider : public base::Thread, public GeolocationObserver {
// via AddObserver(). Returns true if the observer was removed.
bool RemoveObserver(GeolocationObserver* delegate);
- void OnPermissionGranted(const GURL& requesting_frame);
+ CONTENT_EXPORT void OnPermissionGranted(const GURL& requesting_frame);
bool HasPermissionBeenGranted() const;
// GeolocationObserver
@@ -50,7 +51,7 @@ class GeolocationProvider : public base::Thread, public GeolocationObserver {
// Gets a pointer to the singleton instance of the location relayer, which
// is in turn bound to the browser's global context objects. Ownership is NOT
// returned.
- static GeolocationProvider* GetInstance();
+ CONTENT_EXPORT static GeolocationProvider* GetInstance();
typedef std::map<GeolocationObserver*, GeolocationObserverOptions>
ObserverMap;