| 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 CHROMEOS_DBUS_FAKE_BLUETOOTH_LE_ADVERTISING_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_LE_ADVERTISING_MANAGER_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_LE_ADVERTISING_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_LE_ADVERTISING_MANAGER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "bluetooth_le_advertising_manager_client.h" | |
| 15 #include "chromeos/chromeos_export.h" | 14 #include "chromeos/chromeos_export.h" |
| 15 #include "chromeos/dbus/bluetooth_le_advertising_manager_client.h" |
| 16 #include "dbus/object_path.h" | 16 #include "dbus/object_path.h" |
| 17 #include "dbus/property.h" | 17 #include "dbus/property.h" |
| 18 | 18 |
| 19 namespace chromeos { | 19 namespace chromeos { |
| 20 | 20 |
| 21 class FakeBluetoothLEAdvertisementServiceProvider; | 21 class FakeBluetoothLEAdvertisementServiceProvider; |
| 22 | 22 |
| 23 // FakeBluetoothAdvertisementManagerClient simulates the behavior of the | 23 // FakeBluetoothAdvertisementManagerClient simulates the behavior of the |
| 24 // Bluetooth | 24 // Bluetooth |
| 25 // Daemon's profile manager object and is used both in test cases in place of a | 25 // Daemon's profile manager object and is used both in test cases in place of a |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // Holds the currently registered advertisement. If there is no advertisement | 70 // Holds the currently registered advertisement. If there is no advertisement |
| 71 // registered, this path is empty. | 71 // registered, this path is empty. |
| 72 dbus::ObjectPath currently_registered_; | 72 dbus::ObjectPath currently_registered_; |
| 73 | 73 |
| 74 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothLEAdvertisingManagerClient); | 74 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothLEAdvertisingManagerClient); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace chromeos | 77 } // namespace chromeos |
| 78 | 78 |
| 79 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_LE_ADVERTISING_MANAGER_CLIENT_H_ | 79 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_LE_ADVERTISING_MANAGER_CLIENT_H_ |
| OLD | NEW |