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

Unified Diff: device/bluetooth/bluetooth_adapter_chromeos.cc

Issue 288903003: [Bluetooth] Standardize Bluetooth device address format to XX:XX:XX:XX:XX:XX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git add unittest 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: device/bluetooth/bluetooth_adapter_chromeos.cc
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.cc b/device/bluetooth/bluetooth_adapter_chromeos.cc
index 71fdf62549d95696b1c0dca3ca319244b23873ce..af1d1867c8c69302ec0662d71ca5639f5c85d36c 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos.cc
+++ b/device/bluetooth/bluetooth_adapter_chromeos.cc
@@ -128,7 +128,7 @@ std::string BluetoothAdapterChromeOS::GetAddress() const {
GetProperties(object_path_);
DCHECK(properties);
- return properties->address.value();
+ return BluetoothDevice::CanonicalizeAddress(properties->address.value());
}
std::string BluetoothAdapterChromeOS::GetName() const {

Powered by Google App Engine
This is Rietveld 408576698