| Index: device/bluetooth/bluetooth_gatt_notify_session_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_gatt_notify_session_win.cc b/device/bluetooth/bluetooth_gatt_notify_session_mac.mm
|
| similarity index 51%
|
| copy from device/bluetooth/bluetooth_gatt_notify_session_win.cc
|
| copy to device/bluetooth/bluetooth_gatt_notify_session_mac.mm
|
| index 519c8d6d6685435292354b36371a1a06fd648788..f070c37bd923977c282c5cd04424e16405738dbd 100644
|
| --- a/device/bluetooth/bluetooth_gatt_notify_session_win.cc
|
| +++ b/device/bluetooth/bluetooth_gatt_notify_session_mac.mm
|
| @@ -2,26 +2,26 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "device/bluetooth/bluetooth_gatt_notify_session_win.h"
|
| +#include "device/bluetooth/bluetooth_gatt_notify_session_mac.h"
|
|
|
| namespace device {
|
| -BluetoothGattNotifySessionWin::BluetoothGattNotifySessionWin(
|
| - base::WeakPtr<BluetoothRemoteGattCharacteristicWin> characteristic)
|
| +BluetoothGattNotifySessionMac::BluetoothGattNotifySessionMac(
|
| + base::WeakPtr<BluetoothRemoteGattCharacteristicMac> characteristic)
|
| : characteristic_(characteristic) {}
|
|
|
| -BluetoothGattNotifySessionWin::~BluetoothGattNotifySessionWin() {}
|
| +BluetoothGattNotifySessionMac::~BluetoothGattNotifySessionMac() {}
|
|
|
| -std::string BluetoothGattNotifySessionWin::GetCharacteristicIdentifier() const {
|
| +std::string BluetoothGattNotifySessionMac::GetCharacteristicIdentifier() const {
|
| if (characteristic_.get())
|
| return characteristic_->GetIdentifier();
|
| return std::string();
|
| }
|
|
|
| -bool BluetoothGattNotifySessionWin::IsActive() {
|
| +bool BluetoothGattNotifySessionMac::IsActive() {
|
| return characteristic_.get() != nullptr;
|
| }
|
|
|
| -void BluetoothGattNotifySessionWin::Stop(const base::Closure& callback) {
|
| +void BluetoothGattNotifySessionMac::Stop(const base::Closure& callback) {
|
| NOTIMPLEMENTED();
|
| }
|
|
|
|
|