Index: device/bluetooth/bluetooth_device.h |
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h |
index e548007c206da790d35f3104e4bc41b4c70a3aa8..0a7c4d369aa6720553ad0de925ac751a247adc88 100644 |
--- a/device/bluetooth/bluetooth_device.h |
+++ b/device/bluetooth/bluetooth_device.h |
@@ -11,6 +11,7 @@ |
#include <vector> |
#include "base/callback.h" |
+#include "base/gtest_prod_util.h" |
#include "base/memory/ref_counted.h" |
#include "base/strings/string16.h" |
#include "device/bluetooth/bluetooth_export.h" |
@@ -435,6 +436,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice { |
protected: |
// BluetoothGattConnection is a friend to call Add/RemoveGattConnection. |
friend BluetoothGattConnection; |
+ FRIEND_TEST_ALL_PREFIXES(BluetoothTest, |
+ BluetoothGattConnection_ConnectDisconnect); |
BluetoothDevice(BluetoothAdapter* adapter); |