diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-04 17:16:16 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-04 17:16:16 +0000 |
commit | 97efb8e4233980eaa78be2b9e92e29602ab55c03 (patch) | |
tree | af0d0591af481eaab30b3c486a371feccde52036 /content/browser/geolocation | |
parent | 413ff204295280c8d54b93f1eded372b07e34015 (diff) | |
download | chromium_src-97efb8e4233980eaa78be2b9e92e29602ab55c03.zip chromium_src-97efb8e4233980eaa78be2b9e92e29602ab55c03.tar.gz chromium_src-97efb8e4233980eaa78be2b9e92e29602ab55c03.tar.bz2 |
Export some unix-specific content symbols.
R=jam@chromium.org
BUG=90442
TEST=
Review URL: http://codereview.chromium.org/8113027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r-- | content/browser/geolocation/gps_location_provider_linux.h | 3 | ||||
-rw-r--r-- | content/browser/geolocation/libgps_wrapper_linux.h | 5 | ||||
-rw-r--r-- | content/browser/geolocation/wifi_data_provider_linux.h | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/content/browser/geolocation/gps_location_provider_linux.h b/content/browser/geolocation/gps_location_provider_linux.h index bea8eb4..7778620 100644 --- a/content/browser/geolocation/gps_location_provider_linux.h +++ b/content/browser/geolocation/gps_location_provider_linux.h @@ -14,6 +14,7 @@ #include "base/memory/scoped_ptr.h" #include "base/task.h" #include "content/browser/geolocation/location_provider.h" +#include "content/common/content_export.h" #include "content/common/geoposition.h" class LibGps; @@ -23,7 +24,7 @@ class LibGps; // IO thread). As the older libgps API is not designed to support polling, // there's a chance it could block, so better move this into its own worker // thread. -class GpsLocationProviderLinux : public LocationProviderBase { +class CONTENT_EXPORT GpsLocationProviderLinux : public LocationProviderBase { public: typedef LibGps* (*LibGpsFactory)(); // |factory| will be used to create the gpsd client library wrapper. (Note diff --git a/content/browser/geolocation/libgps_wrapper_linux.h b/content/browser/geolocation/libgps_wrapper_linux.h index 5a9f428..6ed6c40 100644 --- a/content/browser/geolocation/libgps_wrapper_linux.h +++ b/content/browser/geolocation/libgps_wrapper_linux.h @@ -17,11 +17,12 @@ #include "base/memory/scoped_ptr.h" #include "base/time.h" +#include "content/common/content_export.h" struct Geoposition; class LibGpsLibraryWrapper; -class LibGps { +class CONTENT_EXPORT LibGps { public: virtual ~LibGps(); // Attempts to dynamically load the libgps.so library, and creates and @@ -65,7 +66,7 @@ struct gps_data_t; // Wraps the low-level shared object, binding C++ member functions onto the // underlying C functions obtained from the library. -class LibGpsLibraryWrapper { +class CONTENT_EXPORT LibGpsLibraryWrapper { public: typedef gps_data_t* (*gps_open_fn)(const char*, const char*); typedef int (*gps_close_fn)(gps_data_t*); diff --git a/content/browser/geolocation/wifi_data_provider_linux.h b/content/browser/geolocation/wifi_data_provider_linux.h index 434e6e5..fa92ce9 100644 --- a/content/browser/geolocation/wifi_data_provider_linux.h +++ b/content/browser/geolocation/wifi_data_provider_linux.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,12 +7,13 @@ #pragma once #include "content/browser/geolocation/wifi_data_provider_common.h" +#include "content/common/content_export.h" namespace dbus { class Bus; }; -class WifiDataProviderLinux : public WifiDataProviderCommon { +class CONTENT_EXPORT WifiDataProviderLinux : public WifiDataProviderCommon { public: WifiDataProviderLinux(); |