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

Side by Side Diff: device/bluetooth/bluetooth_local_gatt_descriptor.cc

Issue 1915803002: Bluetooth class changes for implementing local GATT attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/bluetooth/bluetooth_local_gatt_descriptor.h" 5 #include "device/bluetooth/bluetooth_local_gatt_descriptor.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace device { 9 namespace device {
10 10
11 #if !defined(OS_CHROMEOS) && !defined(OS_LINUX)
12 // static
13 base::WeakPtr<BluetoothLocalGattDescriptor>
14 BluetoothLocalGattDescriptor::Create(
15 const BluetoothUUID& uuid,
16 BluetoothGattCharacteristic::Permissions permissions,
17 BluetoothLocalGattCharacteristic* characteristic) {
18 NOTIMPLEMENTED();
19 return nullptr;
20 }
21 #endif
22
11 BluetoothLocalGattDescriptor::BluetoothLocalGattDescriptor() {} 23 BluetoothLocalGattDescriptor::BluetoothLocalGattDescriptor() {}
12 24
13 BluetoothLocalGattDescriptor::~BluetoothLocalGattDescriptor() {} 25 BluetoothLocalGattDescriptor::~BluetoothLocalGattDescriptor() {}
14 26
15 // static
16 BluetoothLocalGattDescriptor* BluetoothLocalGattDescriptor::Create(
17 const BluetoothUUID& uuid,
18 const std::vector<uint8_t>& value,
19 BluetoothGattCharacteristic::Permissions permissions,
20 BluetoothLocalGattCharacteristic* characteristic) {
21 LOG(ERROR) << "Creating local GATT characteristic descriptors currently not "
22 << "supported.";
23 return NULL;
24 }
25
26 } // namespace device 27 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698