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

Unified Diff: device/bluetooth/bluetooth_local_gatt_characteristic.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: minor cleanup 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
Index: device/bluetooth/bluetooth_local_gatt_characteristic.cc
diff --git a/device/bluetooth/bluetooth_gatt_service.cc b/device/bluetooth/bluetooth_local_gatt_characteristic.cc
similarity index 29%
copy from device/bluetooth/bluetooth_gatt_service.cc
copy to device/bluetooth/bluetooth_local_gatt_characteristic.cc
index 461a63cf7847addd02ee97ac16e84b8a4951bf8a..9d4d37aac2372db8fbf23f5ac70740c920cf725a 100644
--- a/device/bluetooth/bluetooth_gatt_service.cc
+++ b/device/bluetooth/bluetooth_local_gatt_characteristic.cc
@@ -1,25 +1,26 @@
-// 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_characteristic.h"
#include "base/logging.h"
+#include "device/bluetooth/bluetooth_local_gatt_service.h"
namespace device {
-BluetoothGattService::BluetoothGattService() {
-}
+BluetoothLocalGattCharacteristic::BluetoothLocalGattCharacteristic() {}
-BluetoothGattService::~BluetoothGattService() {
-}
+BluetoothLocalGattCharacteristic::~BluetoothLocalGattCharacteristic() {}
// static
-BluetoothGattService* BluetoothGattService::Create(
+BluetoothLocalGattCharacteristic* BluetoothLocalGattCharacteristic::Create(
const BluetoothUUID& uuid,
- bool is_primary,
- Delegate* delegate) {
- LOG(ERROR) << "Creating local GATT services currently not supported.";
+ const std::vector<uint8_t>& value,
+ Properties properties,
+ Permissions permissions,
+ BluetoothLocalGattService* service) {
+ NOTIMPLEMENTED();
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698