diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-13 22:11:57 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-13 22:11:57 +0000 |
commit | 8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c (patch) | |
tree | 6d15da0c38831ea9180d3d90caa66d5adc7cb000 /content/browser/geolocation | |
parent | 8ea5d4bd1f750572bec6b6b73732bba147f0be42 (diff) | |
download | chromium_src-8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c.zip chromium_src-8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c.tar.gz chromium_src-8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c.tar.bz2 |
Annotate all of the functions in content that need to be exported, in preparation for creating a content shared library.
R=darin@chromium.org, jam@chromium.org, willchan@chromium.org
BUG=90442
TEST=everything still compiles
Review URL: http://codereview.chromium.org/7800015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r-- | content/browser/geolocation/access_token_store.h | 5 | ||||
-rw-r--r-- | content/browser/geolocation/geolocation_permission_context.h | 3 | ||||
-rw-r--r-- | content/browser/geolocation/geolocation_provider.h | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/content/browser/geolocation/access_token_store.h b/content/browser/geolocation/access_token_store.h index df3ec61..e40bb92 100644 --- a/content/browser/geolocation/access_token_store.h +++ b/content/browser/geolocation/access_token_store.h @@ -20,6 +20,7 @@ #include "base/memory/ref_counted.h" #include "base/string16.h" #include "content/browser/cancelable_request.h" +#include "content/common/content_export.h" #include "googleurl/src/gurl.h" class GURL; @@ -52,8 +53,8 @@ class AccessTokenStore : public base::RefCountedThreadSafe<AccessTokenStore>, protected: friend class base::RefCountedThreadSafe<AccessTokenStore>; - AccessTokenStore(); - virtual ~AccessTokenStore(); + CONTENT_EXPORT AccessTokenStore(); + CONTENT_EXPORT virtual ~AccessTokenStore(); virtual void DoLoadAccessTokens( scoped_refptr<CancelableRequest<LoadAccessTokensCallbackType> > req) = 0; diff --git a/content/browser/geolocation/geolocation_permission_context.h b/content/browser/geolocation/geolocation_permission_context.h index ff6b7dc..ddbade7 100644 --- a/content/browser/geolocation/geolocation_permission_context.h +++ b/content/browser/geolocation/geolocation_permission_context.h @@ -8,13 +8,14 @@ #include "base/basictypes.h" #include "base/memory/ref_counted.h" +#include "content/common/content_export.h" class GURL; // GeolocationPermissionContext must be implemented by the embedder, to provide // the policy and logic for the Geolocation permissions flow. // This includes both prompting the user and persisting results, as required. -class GeolocationPermissionContext +class CONTENT_EXPORT GeolocationPermissionContext : public base::RefCountedThreadSafe<GeolocationPermissionContext> { public: // The renderer is requesting permission to use Geolocation. 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; |