Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / device / bluetooth / bluetooth_device_mac.mm
index 43d9fb6..888ae69 100644 (file)
@@ -63,18 +63,6 @@ BluetoothDeviceMac::BluetoothDeviceMac(IOBluetoothDevice* device)
 BluetoothDeviceMac::~BluetoothDeviceMac() {
 }
 
-void BluetoothDeviceMac::AddObserver(
-    device::BluetoothDevice::Observer* observer) {
-  DCHECK(observer);
-  observers_.AddObserver(observer);
-}
-
-void BluetoothDeviceMac::RemoveObserver(
-    device::BluetoothDevice::Observer* observer) {
-  DCHECK(observer);
-  observers_.RemoveObserver(observer);
-}
-
 uint32 BluetoothDeviceMac::GetBluetoothClass() const {
   return [device_ classOfDevice];
 }
@@ -232,6 +220,10 @@ void BluetoothDeviceMac::StartConnectionMonitor(
   NOTIMPLEMENTED();
 }
 
+NSDate* BluetoothDeviceMac::GetLastInquiryUpdate() {
+  return [device_ getLastInquiryUpdate];
+}
+
 int BluetoothDeviceMac::GetHostTransmitPower(
     BluetoothHCITransmitPowerLevelType power_level_type) const {
   IOBluetoothHostController* controller =