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

Side by Side Diff: device/bluetooth/bluez/bluetooth_local_gatt_descriptor_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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 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/dbus/dbus_bluez_manager_wrapper_linux.h" 5 #include "device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h"
6
7 #include <string>
8
9 #include "base/logging.h"
6 10
7 namespace bluez { 11 namespace bluez {
8 12
9 // Stub implementation for targets that don't use DBus. 13 BluetoothLocalGattDescriptorBlueZ::BluetoothLocalGattDescriptorBlueZ(
10 // static 14 const dbus::ObjectPath& object_path)
11 void DBusBluezManagerWrapperLinux::Initialize() {} 15 : BluetoothGattDescriptorBlueZ(object_path), weak_ptr_factory_(this) {
16 VLOG(1) << "Creating local GATT descriptor with identifier: "
17 << GetIdentifier();
18 }
12 19
13 // Stub implementation for targets that don't use DBus. 20 BluetoothLocalGattDescriptorBlueZ::~BluetoothLocalGattDescriptorBlueZ() {}
14 // static
15 void DBusBluezManagerWrapperLinux::Shutdown() {}
16 21
17 } // namespace bluez 22 } // namespace bluez
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698