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

Unified Diff: chromeos/dbus/fake_bluetooth_device_client.h

Issue 273953002: Hook up RSSI and host transmit power Bluetooth device properties for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/fake_bluetooth_device_client.h
diff --git a/chromeos/dbus/fake_bluetooth_device_client.h b/chromeos/dbus/fake_bluetooth_device_client.h
index 827fdcb94cc3ec4b2aae46685c84edf161da6122..299b32a19c95cbb4dd77a82b08d436d83f1f0127 100644
--- a/chromeos/dbus/fake_bluetooth_device_client.h
+++ b/chromeos/dbus/fake_bluetooth_device_client.h
@@ -69,6 +69,14 @@ class CHROMEOS_EXPORT FakeBluetoothDeviceClient
virtual void CancelPairing(const dbus::ObjectPath& object_path,
const base::Closure& callback,
const ErrorCallback& error_callback) OVERRIDE;
+ virtual void StartConnectionMonitor(
+ const dbus::ObjectPath& object_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) OVERRIDE;
+ virtual void StopConnectionMonitor(
+ const dbus::ObjectPath& object_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) OVERRIDE;
void SetSimulationIntervalMs(int interval_ms);
@@ -192,9 +200,9 @@ class CHROMEOS_EXPORT FakeBluetoothDeviceClient
const dbus::ObjectPath& object_path,
Properties* properties);
- // Updates the RSSI property of fake device with object path |object_path|
- // to |rssi|, if the fake device exists.
- void UpdateDeviceRSSI(const dbus::ObjectPath& object_path, int16 rssi);
+ // Updates the inquiry RSSI property of fake device with object path
+ // |object_path| to |rssi|, if the fake device exists.
+ void UpdateInquiryRSSI(const dbus::ObjectPath& object_path, int16 rssi);
keybuk 2014/05/09 00:35:25 Nak on name change
Tim Song 2014/05/09 02:55:29 Done.
void PinCodeCallback(
const dbus::ObjectPath& object_path,
@@ -242,6 +250,7 @@ class CHROMEOS_EXPORT FakeBluetoothDeviceClient
uint32_t discovery_simulation_step_;
uint32_t incoming_pairing_simulation_step_;
bool pairing_cancelled_;
+ bool connection_monitor_started_;
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698