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

Unified Diff: device/bluetooth/bluez/bluetooth_gatt_notify_session_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_gatt_notify_session_bluez.cc
diff --git a/device/bluetooth/bluetooth_gatt_notify_session_bluez.cc b/device/bluetooth/bluez/bluetooth_gatt_notify_session_bluez.cc
similarity index 91%
rename from device/bluetooth/bluetooth_gatt_notify_session_bluez.cc
rename to device/bluetooth/bluez/bluetooth_gatt_notify_session_bluez.cc
index 7e1cfed4c0d2e6090584f5a032721539d33811e8..0e979d88cca3f4af2facbf3048ddc5763c285c58 100644
--- a/device/bluetooth/bluetooth_gatt_notify_session_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_gatt_notify_session_bluez.cc
@@ -1,15 +1,15 @@
-// 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_notify_session_bluez.h"
+#include "device/bluetooth/bluez/bluetooth_gatt_notify_session_bluez.h"
#include "base/bind.h"
#include "base/logging.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_device.h"
-#include "device/bluetooth/bluetooth_gatt_service.h"
-#include "device/bluetooth/bluetooth_remote_gatt_characteristic_bluez.h"
+#include "device/bluetooth/bluetooth_remote_gatt_service.h"
+#include "device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.h"
#include "device/bluetooth/dbus/bluez_dbus_manager.h"
namespace bluez {
@@ -87,7 +87,8 @@ void BluetoothGattNotifySessionBlueZ::Stop(const base::Closure& callback) {
if (!device)
return;
- device::BluetoothGattService* service = device->GetGattService(service_id_);
+ device::BluetoothRemoteGattService* service =
+ device->GetGattService(service_id_);
if (!service)
return;
« no previous file with comments | « device/bluetooth/bluez/bluetooth_gatt_notify_session_bluez.h ('k') | device/bluetooth/bluez/bluetooth_gatt_service_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698