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

Unified Diff: device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.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
Index: device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.cc
diff --git a/device/bluetooth/bluetooth_local_gatt_service_bluez.cc b/device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.cc
similarity index 70%
rename from device/bluetooth/bluetooth_local_gatt_service_bluez.cc
rename to device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.cc
index 7a206021123a86ceea2ea6519774fea8cf8d8c41..16235f41af4ac1f51e86ca0b298e3c2c95400569 100644
--- a/device/bluetooth/bluetooth_local_gatt_service_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.h"
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/logging.h"
-#include "device/bluetooth/bluetooth_adapter_bluez.h"
-#include "device/bluetooth/bluetooth_gatt_characteristic.h"
-#include "device/bluetooth/bluetooth_local_gatt_service_bluez.h"
+#include "device/bluetooth/bluez/bluetooth_adapter_bluez.h"
#include "device/bluetooth/dbus/bluetooth_gatt_manager_client.h"
#include "device/bluetooth/dbus/bluez_dbus_manager.h"
@@ -23,36 +23,6 @@ BluetoothLocalGattServiceBlueZ::BluetoothLocalGattServiceBlueZ(
BluetoothLocalGattServiceBlueZ::~BluetoothLocalGattServiceBlueZ() {}
-device::BluetoothUUID BluetoothLocalGattServiceBlueZ::GetUUID() const {
- NOTIMPLEMENTED();
- return device::BluetoothUUID();
-}
-
-bool BluetoothLocalGattServiceBlueZ::IsLocal() const {
- return true;
-}
-
-bool BluetoothLocalGattServiceBlueZ::IsPrimary() const {
- NOTIMPLEMENTED();
- return false;
-}
-
-device::BluetoothDevice* BluetoothLocalGattServiceBlueZ::GetDevice() const {
- return nullptr;
-}
-
-bool BluetoothLocalGattServiceBlueZ::AddCharacteristic(
- device::BluetoothGattCharacteristic* characteristic) {
- NOTIMPLEMENTED();
- return false;
-}
-
-bool BluetoothLocalGattServiceBlueZ::AddIncludedService(
- device::BluetoothGattService* service) {
- NOTIMPLEMENTED();
- return false;
-}
-
void BluetoothLocalGattServiceBlueZ::Register(
const base::Closure& callback,
const ErrorCallback& error_callback) {
« no previous file with comments | « device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.h ('k') | device/bluetooth/bluez/bluetooth_pairing_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698