| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_DEVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 const ErrorCallback& error_callback); | 139 const ErrorCallback& error_callback); |
| 140 void TimeoutSimulatedPairing( | 140 void TimeoutSimulatedPairing( |
| 141 const dbus::ObjectPath& object_path, | 141 const dbus::ObjectPath& object_path, |
| 142 const ErrorCallback& error_callback); | 142 const ErrorCallback& error_callback); |
| 143 void CancelSimulatedPairing( | 143 void CancelSimulatedPairing( |
| 144 const dbus::ObjectPath& object_path, | 144 const dbus::ObjectPath& object_path, |
| 145 const ErrorCallback& error_callback); | 145 const ErrorCallback& error_callback); |
| 146 void RejectSimulatedPairing( | 146 void RejectSimulatedPairing( |
| 147 const dbus::ObjectPath& object_path, | 147 const dbus::ObjectPath& object_path, |
| 148 const ErrorCallback& error_callback); | 148 const ErrorCallback& error_callback); |
| 149 void AddInputDeviceIfNeeded( |
| 150 const dbus::ObjectPath& object_path, |
| 151 Properties* properties); |
| 149 | 152 |
| 150 void PinCodeCallback( | 153 void PinCodeCallback( |
| 151 const dbus::ObjectPath& object_path, | 154 const dbus::ObjectPath& object_path, |
| 152 const base::Closure& callback, | 155 const base::Closure& callback, |
| 153 const ErrorCallback& error_callback, | 156 const ErrorCallback& error_callback, |
| 154 ExperimentalBluetoothAgentServiceProvider::Delegate::Status status, | 157 ExperimentalBluetoothAgentServiceProvider::Delegate::Status status, |
| 155 const std::string& pincode); | 158 const std::string& pincode); |
| 156 void PasskeyCallback( | 159 void PasskeyCallback( |
| 157 const dbus::ObjectPath& object_path, | 160 const dbus::ObjectPath& object_path, |
| 158 const base::Closure& callback, | 161 const base::Closure& callback, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 179 std::vector<dbus::ObjectPath> device_list_; | 182 std::vector<dbus::ObjectPath> device_list_; |
| 180 | 183 |
| 181 int simulation_interval_ms_; | 184 int simulation_interval_ms_; |
| 182 uint32_t discovery_simulation_step_; | 185 uint32_t discovery_simulation_step_; |
| 183 bool pairing_cancelled_; | 186 bool pairing_cancelled_; |
| 184 }; | 187 }; |
| 185 | 188 |
| 186 } // namespace chromeos | 189 } // namespace chromeos |
| 187 | 190 |
| 188 #endif /* CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ */ | 191 #endif /* CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ */ |
| OLD | NEW |