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

Unified Diff: chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc

Issue 2017393002: bluetooth: Rename device's GetName to GetNameForDisplay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc b/chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc
index e52157592501a5333248ee39b39041f1852835bd..e89d7e65c5d781bc715ed4465f76f7807e6c282d 100644
--- a/chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc
+++ b/chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc
@@ -35,7 +35,7 @@ BluetoothPairingDialog::BluetoothPairingDialog(
: parent_window_(parent_window),
webui_(nullptr) {
device_data_.SetString("address", device->GetAddress());
- device_data_.SetString("name", device->GetName());
+ device_data_.SetString("name", device->GetNameForDisplay());
device_data_.SetBoolean("paired", device->IsPaired());
device_data_.SetBoolean("connected", device->IsConnected());
}

Powered by Google App Engine
This is Rietveld 408576698