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

Side by Side Diff: device/bluetooth/dbus/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_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H_ 5 #ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H_
6 #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H_ 6 #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "dbus/bus.h" 17 #include "dbus/bus.h"
18 #include "dbus/file_descriptor.h"
19 #include "dbus/object_path.h" 18 #include "dbus/object_path.h"
20 #include "device/bluetooth/bluetooth_export.h" 19 #include "device/bluetooth/bluetooth_export.h"
21 20
22 namespace bluez { 21 namespace bluez {
23 22
24 // BluetoothAdvertisementServiceProvider is used to provide a D-Bus object that 23 // BluetoothAdvertisementServiceProvider is used to provide a D-Bus object that
25 // the Bluetooth daemon can communicate with to advertise data. 24 // the Bluetooth daemon can communicate with to advertise data.
26 class DEVICE_BLUETOOTH_EXPORT BluetoothLEAdvertisementServiceProvider { 25 class DEVICE_BLUETOOTH_EXPORT BluetoothLEAdvertisementServiceProvider {
27 public: 26 public:
28 using UUIDList = std::vector<std::string>; 27 using UUIDList = std::vector<std::string>;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // again in our destructor. 72 // again in our destructor.
74 dbus::ObjectPath object_path_; 73 dbus::ObjectPath object_path_;
75 74
76 private: 75 private:
77 DISALLOW_COPY_AND_ASSIGN(BluetoothLEAdvertisementServiceProvider); 76 DISALLOW_COPY_AND_ASSIGN(BluetoothLEAdvertisementServiceProvider);
78 }; 77 };
79 78
80 } // namespace bluez 79 } // namespace bluez
81 80
82 #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H_ 81 #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_LE_ADVERTISEMENT_SERVICE_PROVIDER_H_
OLDNEW
« no previous file with comments | « dbus/message_unittest.cc ('k') | device/bluetooth/dbus/fake_bluetooth_le_advertisement_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698