OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "device/bluetooth/bluetooth_gatt_notify_session_android.h" | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 namespace device { | |
10 | |
11 BluetoothGattNotifySessionAndroid::BluetoothGattNotifySessionAndroid( | |
12 const std::string& characteristic_identifier) | |
13 : characteristic_id_(characteristic_identifier) {} | |
14 | |
15 BluetoothGattNotifySessionAndroid::~BluetoothGattNotifySessionAndroid() {} | |
16 | |
17 std::string BluetoothGattNotifySessionAndroid::GetCharacteristicIdentifier() | |
18 const { | |
19 return characteristic_id_; | |
20 } | |
21 | |
22 bool BluetoothGattNotifySessionAndroid::IsActive() { | |
23 return true; | |
24 } | |
25 | |
26 void BluetoothGattNotifySessionAndroid::Stop(const base::Closure& callback) { | |
27 NOTIMPLEMENTED(); | |
28 } | |
29 | |
30 } // namespace device | |
OLD | NEW |