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

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

Issue 1897873003: bluetooth: Check if device name is null before trying to convert (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: 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
« no previous file with comments | « device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/bluetooth_test.h
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
index 279b2e962bdc26e04d95ab903abc4692b195c125..4d8d0324295da423084ade9754ad48b81b8f383e 100644
--- a/device/bluetooth/test/bluetooth_test.h
+++ b/device/bluetooth/test/bluetooth_test.h
@@ -94,6 +94,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.
« no previous file with comments | « device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698