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

Unified Diff: device/bluetooth/bluetooth_local_gatt_descriptor.cc

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « device/bluetooth/bluetooth_local_gatt_descriptor.h ('k') | device/bluetooth/bluetooth_local_gatt_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « device/bluetooth/bluetooth_local_gatt_descriptor.h ('k') | device/bluetooth/bluetooth_local_gatt_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698