diff --git a/device/bluetooth/bluetooth_profile.h b/device/bluetooth/bluetooth_profile.h index 46200b3b3a4d83..4ff2480c21d336 100644 --- a/device/bluetooth/bluetooth_profile.h +++ b/device/bluetooth/bluetooth_profile.h @@ -99,10 +99,7 @@ class BluetoothProfile { scoped_refptr)> ConnectionCallback; virtual void SetConnectionCallback(const ConnectionCallback& callback) = 0; - private: - friend class BluetoothProfileMac; - friend class MockBluetoothProfile; - + protected: BluetoothProfile(); virtual ~BluetoothProfile(); };