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

Unified Diff: device/bluetooth/bluetooth_gatt_notify_session_mac.mm

Issue 2094633003: Bluetooth: Mac: implementation for start notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write_read_characteristicscan_servicescan_cleanup
Patch Set: Addressing msarda's comments Created 4 years, 6 months 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
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();
}
« no previous file with comments | « device/bluetooth/bluetooth_gatt_notify_session_mac.h ('k') | device/bluetooth/bluetooth_low_energy_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698