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

Side by Side Diff: device/bluetooth/dbus/fake_bluetooth_le_advertisement_service_provider.h

Issue 2337893002: dbus: Remove dbus::FileDescriptor (Closed)
Patch Set: Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H _ 5 #ifndef DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H _
6 #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H _ 6 #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H _
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "dbus/file_descriptor.h"
14 #include "dbus/object_path.h" 13 #include "dbus/object_path.h"
15 #include "device/bluetooth/bluetooth_export.h" 14 #include "device/bluetooth/bluetooth_export.h"
16 #include "device/bluetooth/dbus/bluetooth_le_advertisement_service_provider.h" 15 #include "device/bluetooth/dbus/bluetooth_le_advertisement_service_provider.h"
17 16
18 namespace bluez { 17 namespace bluez {
19 18
20 // FakeBluetoothAdvertisementServiceProvider simulates the behavior of a local 19 // FakeBluetoothAdvertisementServiceProvider simulates the behavior of a local
21 // Bluetooth agent object and is used both in test cases in place of a 20 // Bluetooth agent object and is used both in test cases in place of a
22 // mock and on the Linux desktop. 21 // mock and on the Linux desktop.
23 class DEVICE_BLUETOOTH_EXPORT FakeBluetoothLEAdvertisementServiceProvider 22 class DEVICE_BLUETOOTH_EXPORT FakeBluetoothLEAdvertisementServiceProvider
(...skipping 18 matching lines...) Expand all
42 // passed to generate the reply. |delegate_| is generally the object that 41 // passed to generate the reply. |delegate_| is generally the object that
43 // owns this one, and must outlive it. 42 // owns this one, and must outlive it.
44 Delegate* delegate_; 43 Delegate* delegate_;
45 44
46 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothLEAdvertisementServiceProvider); 45 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothLEAdvertisementServiceProvider);
47 }; 46 };
48 47
49 } // namespace bluez 48 } // namespace bluez
50 49
51 #endif // DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDE R_H_ 50 #endif // DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698