summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2016-02-08 22:43:19 -0500
committerNico Weber <thakis@chromium.org>2016-02-09 03:45:06 +0000
commit2dd1996050dfbfb11bfb05df58ad98c6da7eb3ef (patch)
tree7c9b3e8aa899af642ddd94d935701f4a245b9aaf /device
parentc1b124f0b2f9b402e79c141910b6c54cd2c8e5e0 (diff)
downloadchromium_src-2dd1996050dfbfb11bfb05df58ad98c6da7eb3ef.zip
chromium_src-2dd1996050dfbfb11bfb05df58ad98c6da7eb3ef.tar.gz
chromium_src-2dd1996050dfbfb11bfb05df58ad98c6da7eb3ef.tar.bz2
Fix chromium-style errors after https://codereview.chromium.org/1676073002/
BUG=579202,82385 TBR=scheib@chromium.org Review URL: https://codereview.chromium.org/1677393002 . Cr-Commit-Position: refs/heads/master@{#374289}
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_low_energy_win_fake.cc12
-rw-r--r--device/bluetooth/bluetooth_low_energy_win_fake.h8
2 files changed, 20 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_low_energy_win_fake.cc b/device/bluetooth/bluetooth_low_energy_win_fake.cc
index 60926be..6db6444 100644
--- a/device/bluetooth/bluetooth_low_energy_win_fake.cc
+++ b/device/bluetooth/bluetooth_low_energy_win_fake.cc
@@ -14,6 +14,18 @@ const char kPlatformNotSupported[] =
namespace device {
namespace win {
+BLEDevice::BLEDevice() {}
+BLEDevice::~BLEDevice() {}
+
+BLEGattService::BLEGattService() {}
+BLEGattService::~BLEGattService() {}
+
+BLEGattCharacteristic::BLEGattCharacteristic() {}
+BLEGattCharacteristic::~BLEGattCharacteristic() {}
+
+BLEGattDescriptor::BLEGattDescriptor() {}
+BLEGattDescriptor::~BLEGattDescriptor() {}
+
BluetoothLowEnergyWrapperFake::BluetoothLowEnergyWrapperFake() {}
BluetoothLowEnergyWrapperFake::~BluetoothLowEnergyWrapperFake() {}
diff --git a/device/bluetooth/bluetooth_low_energy_win_fake.h b/device/bluetooth/bluetooth_low_energy_win_fake.h
index e93774f..d2a9ca2 100644
--- a/device/bluetooth/bluetooth_low_energy_win_fake.h
+++ b/device/bluetooth/bluetooth_low_energy_win_fake.h
@@ -33,23 +33,31 @@ typedef std::unordered_map<std::string, scoped_ptr<std::set<USHORT>>>
BLEAttributeHandleTable;
struct BLEDevice {
+ BLEDevice();
+ ~BLEDevice();
scoped_ptr<BluetoothLowEnergyDeviceInfo> device_info;
BLEGattServicesMap primary_services;
};
struct BLEGattService {
+ BLEGattService();
+ ~BLEGattService();
scoped_ptr<BTH_LE_GATT_SERVICE> service_info;
BLEGattServicesMap included_services;
BLEGattCharacteristicsMap included_characteristics;
};
struct BLEGattCharacteristic {
+ BLEGattCharacteristic();
+ ~BLEGattCharacteristic();
scoped_ptr<BTH_LE_GATT_CHARACTERISTIC> characteristic_info;
scoped_ptr<BTH_LE_GATT_CHARACTERISTIC_VALUE> value;
BLEGattDescriptorsMap included_descriptors;
};
struct BLEGattDescriptor {
+ BLEGattDescriptor();
+ ~BLEGattDescriptor();
scoped_ptr<BTH_LE_GATT_DESCRIPTOR> descriptor_info;
scoped_ptr<BTH_LE_GATT_DESCRIPTOR_VALUE> value;
};