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

Unified Diff: device/bluetooth/test/bluetooth_test.h

Issue 1876753004: bluetooth: Check if device name is null before trying to convert (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Address scheib's comments Created 4 years, 8 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/test/bluetooth_test.h
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
index 06c3f4af1229122302ffabc4ed9130e8a2c625f5..a4f28a717c34d26b4a9fe6ed369f4c52ba521125 100644
--- a/device/bluetooth/test/bluetooth_test.h
+++ b/device/bluetooth/test/bluetooth_test.h
@@ -96,6 +96,8 @@ class BluetoothTestBase : public testing::Test {
// kTestDeviceAddress1.
// 4: kTestDeviceNameEmpty with no advertised UUIDs and address
// kTestDeviceAddress2.
+ // 5: Device with no name, with no advertised UUIDs and address
+ // kTestDeviceAddress1.
virtual BluetoothDevice* DiscoverLowEnergyDevice(int device_ordinal);
// Simulates success of implementation details of CreateGattConnection.

Powered by Google App Engine
This is Rietveld 408576698