Index: device/bluetooth/bluetooth_local_gatt_descriptor.cc |
diff --git a/device/bluetooth/bluetooth_gatt_service.cc b/device/bluetooth/bluetooth_local_gatt_descriptor.cc |
similarity index 28% |
copy from device/bluetooth/bluetooth_gatt_service.cc |
copy to device/bluetooth/bluetooth_local_gatt_descriptor.cc |
index 461a63cf7847addd02ee97ac16e84b8a4951bf8a..d13ab4321ad50c8313746e7f662caebf66b4639b 100644 |
--- a/device/bluetooth/bluetooth_gatt_service.cc |
+++ b/device/bluetooth/bluetooth_local_gatt_descriptor.cc |
@@ -1,25 +1,25 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
// 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_service.h" |
+#include "device/bluetooth/bluetooth_local_gatt_descriptor.h" |
#include "base/logging.h" |
namespace device { |
-BluetoothGattService::BluetoothGattService() { |
-} |
+BluetoothLocalGattDescriptor::BluetoothLocalGattDescriptor() {} |
-BluetoothGattService::~BluetoothGattService() { |
-} |
+BluetoothLocalGattDescriptor::~BluetoothLocalGattDescriptor() {} |
// static |
-BluetoothGattService* BluetoothGattService::Create( |
+BluetoothLocalGattDescriptor* BluetoothLocalGattDescriptor::Create( |
const BluetoothUUID& uuid, |
- bool is_primary, |
- Delegate* delegate) { |
- LOG(ERROR) << "Creating local GATT services currently not supported."; |
+ const std::vector<uint8_t>& value, |
+ BluetoothGattCharacteristic::Permissions permissions, |
+ BluetoothLocalGattCharacteristic* characteristic) { |
+ LOG(ERROR) << "Creating local GATT characteristic descriptors currently not " |
+ << "supported."; |
return NULL; |
} |