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

Unified Diff: device/bluetooth/bluetooth_task_manager_win.h

Issue 778443002: bluetooth: Make device/bluetooth a shared library component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Set DelayLoadDLL settings on shared library as well Created 6 years 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
« no previous file with comments | « device/bluetooth/bluetooth_socket_thread.h ('k') | device/bluetooth/bluetooth_uuid.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_task_manager_win.h
diff --git a/device/bluetooth/bluetooth_task_manager_win.h b/device/bluetooth/bluetooth_task_manager_win.h
index 2beda13dcbd230811939bd2fa96ffdec3f2b3136..e8b7ae67d1484a29221bec5e80903bb31fbb0adb 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() {}
« no previous file with comments | « device/bluetooth/bluetooth_socket_thread.h ('k') | device/bluetooth/bluetooth_uuid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698