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

Unified Diff: device/bluetooth/bluetooth_device_win.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: Fix ChromeOS tests too 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
« no previous file with comments | « device/bluetooth/bluetooth_device_unittest.cc ('k') | device/device_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_win.cc
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc
index 59e11c4c318db42a0f08ae8d79d5841c7aeb87fc..d5e9e771f17c4abbc710a5bb54a62fe8864089cf 100644
--- a/device/bluetooth/bluetooth_device_win.cc
+++ b/device/bluetooth/bluetooth_device_win.cc
@@ -39,7 +39,7 @@ BluetoothDeviceWin::BluetoothDeviceWin(
net_log_(net_log),
net_log_source_(net_log_source) {
name_ = state.name;
- address_ = state.address;
+ address_ = CanonicalizeAddress(state.address);
bluetooth_class_ = state.bluetooth_class;
visible_ = state.visible;
connected_ = state.connected;
« no previous file with comments | « device/bluetooth/bluetooth_device_unittest.cc ('k') | device/device_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698