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

Unified Diff: chromeos/dbus/fake_bluetooth_device_client.h

Issue 206443009: chromeos/dbus: Add fake D-Bus clients for GATT client-mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 9 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
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/dbus/fake_bluetooth_device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c1699becec4a42cd95be1f6ac37773b2fe2429a3..827fdcb94cc3ec4b2aae46685c84edf161da6122 100644
--- a/chromeos/dbus/fake_bluetooth_device_client.h
+++ b/chromeos/dbus/fake_bluetooth_device_client.h
@@ -159,6 +159,11 @@ class CHROMEOS_EXPORT FakeBluetoothDeviceClient
static const char kJustWorksAddress[];
static const uint32 kJustWorksClass;
+ static const char kLowEnergyPath[];
+ static const char kLowEnergyName[];
+ static const char kLowEnergyAddress[];
+ static const uint32 kLowEnergyClass;
+
private:
// Property callback passed when we create Properties* structures.
void OnPropertyChanged(const dbus::ObjectPath& object_path,
@@ -187,6 +192,10 @@ 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);
+
void PinCodeCallback(
const dbus::ObjectPath& object_path,
const base::Closure& callback,
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/dbus/fake_bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698