| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |