diff options
author | scheib <scheib@chromium.org> | 2014-12-05 10:32:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-05 18:32:51 +0000 |
commit | ff6eaf5adf4d6dc5a748e2ee4e8de080655d1975 (patch) | |
tree | 0e8179200f9330b47671f1243d3c9344239ac248 /device/bluetooth/bluetooth_task_manager_win.h | |
parent | 74be87a0ec9dbfcd7ee9021e68ec2ce4cda442e7 (diff) | |
download | chromium_src-ff6eaf5adf4d6dc5a748e2ee4e8de080655d1975.zip chromium_src-ff6eaf5adf4d6dc5a748e2ee4e8de080655d1975.tar.gz chromium_src-ff6eaf5adf4d6dc5a748e2ee4e8de080655d1975.tar.bz2 |
bluetooth: Make device/bluetooth a shared library component.
device/bluetooth will soon be accessed by content/browser. This
change converts it from a static library to a shared component.
BUG=438305
Review URL: https://codereview.chromium.org/778443002
Cr-Commit-Position: refs/heads/master@{#307049}
Diffstat (limited to 'device/bluetooth/bluetooth_task_manager_win.h')
-rw-r--r-- | device/bluetooth/bluetooth_task_manager_win.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/device/bluetooth/bluetooth_task_manager_win.h b/device/bluetooth/bluetooth_task_manager_win.h index 2beda13..e8b7ae6 100644 --- a/device/bluetooth/bluetooth_task_manager_win.h +++ b/device/bluetooth/bluetooth_task_manager_win.h @@ -14,6 +14,7 @@ #include "base/observer_list.h" #include "base/win/scoped_handle.h" #include "device/bluetooth/bluetooth_adapter.h" +#include "device/bluetooth/bluetooth_export.h" namespace base { @@ -32,10 +33,10 @@ namespace device { // It delegates the blocking Windows API calls to |bluetooth_task_runner_|'s // message loop, and receives responses via methods like OnAdapterStateChanged // posted to UI thread. -class BluetoothTaskManagerWin +class DEVICE_BLUETOOTH_EXPORT BluetoothTaskManagerWin : public base::RefCountedThreadSafe<BluetoothTaskManagerWin> { public: - struct AdapterState { + struct DEVICE_BLUETOOTH_EXPORT AdapterState { AdapterState(); ~AdapterState(); std::string name; @@ -43,7 +44,7 @@ class BluetoothTaskManagerWin bool powered; }; - struct ServiceRecordState { + struct DEVICE_BLUETOOTH_EXPORT ServiceRecordState { ServiceRecordState(); ~ServiceRecordState(); // Properties common to Bluetooth Classic and LE devices. @@ -54,7 +55,7 @@ class BluetoothTaskManagerWin BluetoothUUID gatt_uuid; }; - struct DeviceState { + struct DEVICE_BLUETOOTH_EXPORT DeviceState { DeviceState(); ~DeviceState(); @@ -73,7 +74,7 @@ class BluetoothTaskManagerWin base::FilePath path; }; - class Observer { + class DEVICE_BLUETOOTH_EXPORT Observer { public: virtual ~Observer() {} |