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

Unified Diff: device/bluetooth/bluetooth_local_gatt_service.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/bluetooth_local_gatt_service.cc
diff --git a/device/bluetooth/bluetooth_gatt_service.cc b/device/bluetooth/bluetooth_local_gatt_service.cc
similarity index 43%
copy from device/bluetooth/bluetooth_gatt_service.cc
copy to device/bluetooth/bluetooth_local_gatt_service.cc
index 461a63cf7847addd02ee97ac16e84b8a4951bf8a..2467c6b69ee78afc4f07b3d037fbb3ddbc282356 100644
--- a/device/bluetooth/bluetooth_gatt_service.cc
+++ b/device/bluetooth/bluetooth_local_gatt_service.cc
@@ -1,25 +1,24 @@
-// 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_service.h"
#include "base/logging.h"
namespace device {
-BluetoothGattService::BluetoothGattService() {
-}
+BluetoothLocalGattService::BluetoothLocalGattService() {}
-BluetoothGattService::~BluetoothGattService() {
-}
+BluetoothLocalGattService::~BluetoothLocalGattService() {}
// static
-BluetoothGattService* BluetoothGattService::Create(
+BluetoothLocalGattService* BluetoothLocalGattService::Create(
const BluetoothUUID& uuid,
bool is_primary,
+ BluetoothLocalGattService* included_service,
Delegate* delegate) {
- LOG(ERROR) << "Creating local GATT services currently not supported.";
+ NOTIMPLEMENTED();
return NULL;
}
« no previous file with comments | « device/bluetooth/bluetooth_local_gatt_service.h ('k') | device/bluetooth/bluetooth_local_gatt_service_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698