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

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

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: fix exports for switches, content_main Created 9 years, 4 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/geolocation_provider.h
diff --git a/content/browser/geolocation/geolocation_provider.h b/content/browser/geolocation/geolocation_provider.h
index c955a3caf8e0caf2518647cf52e5a647ee2a8f40..b70a7f129e58bd34a559ccdf272cc2a3bc9fc1c5 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;

Powered by Google App Engine
This is Rietveld 408576698