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

Unified Diff: device/bluetooth/bluetooth_adapter_win_unittest.cc

Issue 2009753002: bluetooth: Make public BluetoothDevice::GetName method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split out name/alias Created 4 years, 5 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_win_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_win_unittest.cc b/device/bluetooth/bluetooth_adapter_win_unittest.cc
index edead7049aeb6593bd9eb49ed85ebf40502ed15c..d57a767f45fd695df6cf82bfbb720a9d3781ac87 100644
--- a/device/bluetooth/bluetooth_adapter_win_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_win_unittest.cc
@@ -456,7 +456,7 @@ TEST_F(BluetoothAdapterWinTest, DevicesPolled) {
EXPECT_EQ(0, observer_.device_changed_count());
// Change a device name
- android_phone_state->name = "phone2";
+ android_phone_state->name = std::string("phone2");
observer_.Reset();
adapter_win_->DevicesPolled(devices);
EXPECT_EQ(0, observer_.device_added_count());

Powered by Google App Engine
This is Rietveld 408576698