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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 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_gatt_service.h" 5 #include "device/bluetooth/bluetooth_local_gatt_characteristic.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "device/bluetooth/bluetooth_local_gatt_service.h"
8 9
9 namespace device { 10 namespace device {
10 11
11 BluetoothGattService::BluetoothGattService() { 12 BluetoothLocalGattCharacteristic::BluetoothLocalGattCharacteristic() {}
12 }
13 13
14 BluetoothGattService::~BluetoothGattService() { 14 BluetoothLocalGattCharacteristic::~BluetoothLocalGattCharacteristic() {}
15 }
16 15
17 // static 16 // static
18 BluetoothGattService* BluetoothGattService::Create( 17 BluetoothLocalGattCharacteristic* BluetoothLocalGattCharacteristic::Create(
19 const BluetoothUUID& uuid, 18 const BluetoothUUID& uuid,
20 bool is_primary, 19 const std::vector<uint8_t>& value,
21 Delegate* delegate) { 20 Properties properties,
22 LOG(ERROR) << "Creating local GATT services currently not supported."; 21 Permissions permissions,
22 BluetoothLocalGattService* service) {
23 NOTIMPLEMENTED();
23 return NULL; 24 return NULL;
24 } 25 }
25 26
26 } // namespace device 27 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_local_gatt_characteristic.h ('k') | device/bluetooth/bluetooth_local_gatt_characteristic_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698